diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-07 01:52:33 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-10-07 01:52:33 -0400 |
| commit | 25da01dc8f4a80422e647490f2687af6fff1e8b7 (patch) | |
| tree | cdd2d650c95fc6b0234b785969e224f95445ef20 /nvim/lua/plugins | |
| parent | 4ccea40bba39d1347723142b9b12c8bd267136bd (diff) | |
Fix completions for css ls
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/lsp.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index d0ec530..423ce1f 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -92,7 +92,7 @@ local mason_lspconfig = { "gopls", "html", "ruff", - "tsserver" + "ts_ls" }, handlers = { @@ -110,6 +110,13 @@ local mason_lspconfig = { } }) end, + ["cssls"] = function() + local capabilities = vim.lsp.protocol.make_client_capabilities() + capabilities.textDocument.completion.completionItem.snippetSupport = true + require('lspconfig').cssls.setup({ + capabilities = capabilities, + }) + end, ["basedpyright"] = function() require('lspconfig').basedpyright.setup({ settings = { |
