diff options
author | Chris <[email protected]> | 2021-03-25 19:58:40 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-25 19:58:40 -0400 |
commit | f52a6870a7bd9ec729bbde6729ec68334a9d2a4d (patch) | |
tree | 19c6ff1b21e73c74c6282cb0dff86135ccd98de9 /lua/lsp/yaml-ls.lua | |
parent | 36e9fdf69e1da2d09cbd3de5fbcd71fc7e5f16d1 (diff) |
add support LspInstall where possible
Diffstat (limited to 'lua/lsp/yaml-ls.lua')
-rw-r--r-- | lua/lsp/yaml-ls.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lsp/yaml-ls.lua b/lua/lsp/yaml-ls.lua index e611572b..3fbc41e4 100644 --- a/lua/lsp/yaml-ls.lua +++ b/lua/lsp/yaml-ls.lua @@ -1,4 +1,5 @@ -- npm install -g yaml-language-server require'lspconfig'.yamlls.setup{ - -- on_attach = require'lsp'.common_on_attach, + cmd = {DATA_PATH .. "/lspinstall/yaml/node_modules/.bin/yaml-language-server", "--stdio"}, + on_attach = require'lsp'.common_on_attach, } |