Replace +lsp|init with lsp! autodef
This commit is contained in:
parent
d46bb287ae
commit
eb3c569e1d
14 changed files with 16 additions and 19 deletions
|
@ -44,7 +44,7 @@ called.")
|
|||
:return "return" :yield "yield")
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'python-mode-hook #'+lsp|init))
|
||||
(add-hook 'python-mode-hook #'lsp!))
|
||||
|
||||
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
|
||||
(sp-local-pair 'python-mode "'" nil
|
||||
|
@ -57,7 +57,7 @@ called.")
|
|||
|
||||
(def-package! anaconda-mode
|
||||
:unless (featurep! +lsp)
|
||||
:hook python-mode
|
||||
:hook python-mode-local-vars
|
||||
:init
|
||||
(setq anaconda-mode-installation-directory (concat doom-etc-dir "anaconda/")
|
||||
anaconda-mode-eldoc-as-single-line t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue