diff options
author | christianchiarulli <[email protected]> | 2021-04-15 00:17:48 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-04-15 00:17:48 -0400 |
commit | 2cd8c6a21cb6c9af91e631f565e31f5803cdaa7c (patch) | |
tree | 7207301e310a278c0f91b4595ddc93fd98238093 /lua/lsp/emmet-ls.lua | |
parent | 1853b4f2aa13b83ff542171060f92d3d4d961a68 (diff) |
LunarVim
Diffstat (limited to 'lua/lsp/emmet-ls.lua')
-rw-r--r-- | lua/lsp/emmet-ls.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/lsp/emmet-ls.lua b/lua/lsp/emmet-ls.lua new file mode 100644 index 00000000..6531ccf0 --- /dev/null +++ b/lua/lsp/emmet-ls.lua @@ -0,0 +1,19 @@ +local nvim_lsp = require'lspconfig' +local configs = require'lspconfig/configs' +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities.textDocument.completion.completionItem.snippetSupport = true + +configs.emmet_ls = { + default_config = { + cmd = {'emmet-ls', '--stdio'}; + filetypes = {'html', 'css'}; + root_dir = function() + return vim.loop.cwd() + end; + settings = {}; + }; +} + +nvim_lsp.emmet_ls.setup{ + -- on_attach = on_attach; +} |