diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/dotls.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/dotls.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/dotls.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/dotls.lua new file mode 100644 index 0000000..479f430 --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/dotls.lua @@ -0,0 +1,20 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'dot-language-server', '--stdio' }, + filetypes = { 'dot' }, + root_dir = util.find_git_ancestor, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/nikeee/dot-language-server + +`dot-language-server` can be installed via `npm`: +```sh +npm install -g dot-language-server +``` + ]], + }, +} |