diff options
| author | William Boman <william@redwill.se> | 2021-10-12 23:05:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-12 14:05:03 -0700 |
| commit | e4bed57f127310764f08e8b45f1ed3a31c6094e0 (patch) | |
| tree | d1d6142f210d11d77485b6e0589a377e78d0f596 /lua | |
| parent | feat: add eslint language server (#1273) (diff) | |
| download | nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.tar nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.tar.gz nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.tar.bz2 nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.tar.lz nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.tar.xz nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.tar.zst nvim-lspconfig-e4bed57f127310764f08e8b45f1ed3a31c6094e0.zip | |
feat: add emmet_ls (#1295)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/emmet_ls.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lua/lspconfig/emmet_ls.lua b/lua/lspconfig/emmet_ls.lua new file mode 100644 index 00000000..06b8e040 --- /dev/null +++ b/lua/lspconfig/emmet_ls.lua @@ -0,0 +1,25 @@ +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' + +local server_name = 'emmet_ls' + +configs[server_name] = { + 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', + }, + }, +} |
