I broke some stuff, this fixes it
All checks were successful
/ Test config on 20 (push) Successful in 25s

This commit is contained in:
Maciej 2024-08-03 22:10:57 +03:00
parent f0340183f6
commit ff2dbc1796
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
9 changed files with 142 additions and 84 deletions

View file

@ -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)))