lang/python: start lsp later

Allows file/dir local variables to affect lsp.
This commit is contained in:
Henrik Lissner 2019-03-13 19:22:58 -04:00
parent 9b1b75f947
commit e116003162
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

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