1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 22:00:07 +08:00
SpaceVim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/dotls.lua
2024-06-13 08:44:55 +08:00

21 lines
409 B
Lua

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
```
]],
},
}