diff options
author | Abouzar Parvan <[email protected]> | 2021-07-09 16:37:25 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-09 08:07:25 -0400 |
commit | 2866ba528c7b49c7c7261a327750a7b8fcff345d (patch) | |
tree | 2d55fc73758d78a0c733b48930ed73aa3b245c9b /lua/lsp/emmet-ls.lua | |
parent | a9e7b6ff8c60e70df22189d7f1ad17f893e1a727 (diff) |
fix styling issues (#811)
Diffstat (limited to 'lua/lsp/emmet-ls.lua')
-rw-r--r-- | lua/lsp/emmet-ls.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lua/lsp/emmet-ls.lua b/lua/lsp/emmet-ls.lua index fcb7f62d..a671ff88 100644 --- a/lua/lsp/emmet-ls.lua +++ b/lua/lsp/emmet-ls.lua @@ -2,22 +2,22 @@ -- return -- end -local nvim_lsp = require'lspconfig' -local configs = require'lspconfig/configs' +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', 'javascript', 'typescript'}; + cmd = { "emmet-ls", "--stdio" }, + filetypes = { "html", "css", "javascript", "typescript" }, root_dir = function() return vim.loop.cwd() - end; - settings = {}; - }; + end, + settings = {}, + }, } -nvim_lsp.emmet_ls.setup{ +nvim_lsp.emmet_ls.setup { -- on_attach = on_attach; } |