Add support for lua-langserver in lsp-mode

This commit is contained in:
Gerry Agbobada 2020-07-15 10:35:59 +02:00
parent af76c873aa
commit c97d0fe9c9
No known key found for this signature in database
GPG key ID: 53F94866E84818F6
2 changed files with 20 additions and 0 deletions

View file

@ -38,6 +38,8 @@ lua-language-server.")
(doom-path lua-lsp-dir "main.lua")))
(when (featurep! +lsp)
(unless (featurep! :tools lsp +eglot)
(load! "+lsp-mode"))
(add-hook 'lua-mode-local-vars-hook #'lsp!)))