Move lsp! to sh-mode-local-vars-hook

This commit is contained in:
Henrik Lissner 2020-02-10 02:39:26 -05:00
parent ae1e3f005e
commit ae75326a40
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -18,7 +18,7 @@
(set-repl-handler! 'sh-mode #'+sh/open-repl)
(when (featurep! +lsp)
(add-hook 'sh-mode-hook #'lsp!))
(add-hook 'sh-mode-local-vars-hook #'lsp!))
(setq sh-indent-after-continuation 'always)