diff --git a/lua/znvim/plugins/editor.lua b/lua/znvim/plugins/editor.lua index c63ac0f..58ab363 100644 --- a/lua/znvim/plugins/editor.lua +++ b/lua/znvim/plugins/editor.lua @@ -244,4 +244,16 @@ return { event = "BufReadPost", config = true, }, + { -- show colors + "https://github.com/norcalli/nvim-colorizer.lua", + ft = { "html", "css", "scss", }, + keys = { + { + "uh", + "ColorizerToggle", + desc = "Toggle background colors rendering", + }, + }, + config = true, + }, } diff --git a/lua/znvim/plugins/lsp.lua b/lua/znvim/plugins/lsp.lua index d897102..dc74a3d 100644 --- a/lua/znvim/plugins/lsp.lua +++ b/lua/znvim/plugins/lsp.lua @@ -136,6 +136,14 @@ return { }, }, }) + + lspconfig.cssls.setup { + capabilities = capabilities, + } + + lspconfig.html.setup { + capabilities = capabilities, + } end, },