Add support for lua-langserver in lsp-mode
This commit is contained in:
parent
af76c873aa
commit
c97d0fe9c9
2 changed files with 20 additions and 0 deletions
|
@ -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!)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue