I broke some stuff, this fixes it
All checks were successful
/ Test config on 20 (push) Successful in 25s
All checks were successful
/ Test config on 20 (push) Successful in 25s
This commit is contained in:
parent
f0340183f6
commit
ff2dbc1796
9 changed files with 142 additions and 84 deletions
|
|
@ -5,7 +5,10 @@
|
|||
(require 'icejam-prog-mode)
|
||||
(require 'icejam-transient)
|
||||
|
||||
(transient-define-prefix icejam-lang-python/transient-context-menu ()
|
||||
(declare-function lsp nil)
|
||||
(declare-function column-enforce-n "column-enforce-mode" (number))
|
||||
|
||||
(transient-define-prefix icejam/python-lang-menu ()
|
||||
"Python Buffer Commands."
|
||||
[""
|
||||
["LSP"
|
||||
|
|
@ -18,14 +21,15 @@
|
|||
[""
|
||||
("q" "Quit" keyboard-quit)])
|
||||
|
||||
;; Add lookup for C-c l transient menu
|
||||
(add-to-list
|
||||
'icejam-language-transient-alist '(python-mode . icejam/python-lang-menu))
|
||||
|
||||
(defun icejam-lang/activate-python-mode ()
|
||||
"Activate python mode."
|
||||
(lsp)
|
||||
|
||||
(column-enforce-n 99)
|
||||
|
||||
(define-key python-mode-map (kbd "C-c l") 'icejam-lang-python/transient-context-menu)
|
||||
|
||||
;; Company list override
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-capf company-yasnippet)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue