Replace +lsp|init with lsp! autodef

This commit is contained in:
Henrik Lissner 2019-03-02 01:33:54 -05:00
parent d46bb287ae
commit eb3c569e1d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
14 changed files with 16 additions and 19 deletions

View file

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