1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 19:00:06 +08:00
SpaceVim/bundle/nvim-lspconfig/lua/lspconfig/server_configurations/emmet_ls.lua

23 lines
390 B
Lua
Raw Normal View History

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'emmet-ls', '--stdio' },
filetypes = { 'html', 'css' },
root_dir = util.find_git_ancestor,
},
docs = {
description = [[
https://github.com/aca/emmet-ls
Package can be installed via `npm`:
```sh
npm install -g emmet-ls
```
]],
default_config = {
root_dir = 'git root',
},
},
}