lang/python: start lsp later
Allows file/dir local variables to affect lsp.
This commit is contained in:
parent
9b1b75f947
commit
e116003162
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ called.")
|
|||
:return "return" :yield "yield")
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'python-mode-hook #'lsp!))
|
||||
(add-hook 'python-mode-local-vars-hook #'lsp!))
|
||||
|
||||
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
|
||||
(sp-local-pair 'python-mode "'" nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue