mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/python: start lsp later
Allows file/dir local variables to affect lsp.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user