diff options
author | ichigo-gyuunyuu <[email protected]> | 2021-07-21 01:03:15 +0530 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-21 00:03:15 +0430 |
commit | 0064b446a02be13dba0f16f084e073b347716710 (patch) | |
tree | 203f9907132b86c37733096bd139cf224b4dd1ad /lua/lang/html.lua | |
parent | 9e640fa4d99beeec97292a00a51b335960aa2b0f (diff) |
[Feature] Allow for custom path to a language server binary (#1043)
Diffstat (limited to 'lua/lang/html.lua')
-rw-r--r-- | lua/lang/html.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/lang/html.lua b/lua/lang/html.lua index 1c45cd05..b14f6e1a 100644 --- a/lua/lang/html.lua +++ b/lua/lang/html.lua @@ -7,6 +7,9 @@ M.config = function() -- https://docs.errata.ai/vale/scoping#html "vale", }, + lsp = { + path = DATA_PATH .. "/lspinstall/html/vscode-html/html-language-features/server/dist/node/htmlServerMain.js", + }, } end @@ -30,7 +33,7 @@ M.lsp = function() require("lspconfig").html.setup { cmd = { "node", - DATA_PATH .. "/lspinstall/html/vscode-html/html-language-features/server/dist/node/htmlServerMain.js", + O.lang.html.lsp.path, "--stdio", }, on_attach = require("lsp").common_on_attach, |