Skip to content

Commit

Permalink
Add nvim-colorizer plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
phelipetls committed Nov 25, 2023
1 parent 4da800f commit 68530d1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .config/nvim/lua/plugins/config/lsp.lua
Expand Up @@ -61,6 +61,21 @@ vim.cmd("packadd! fidget.nvim")
local fidget = require("fidget")
fidget.setup()

-- }}}
-- {{{ colorizer

vim.cmd("packadd! nvim-colorizer.lua")
require("colorizer").setup({
user_default_options = {
RGB = true,
RRGGBB = true,
rgb_fn = true,
hsl_fn = true,
names = false,
tailwind = "lsp",
},
})

-- }}}
-- {{{ lspconfig

Expand Down
1 change: 1 addition & 0 deletions .config/nvim/pack/plugins/opt/nvim-colorizer.lua
Submodule nvim-colorizer.lua added at 760e27
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -209,3 +209,6 @@
path = .config/nvim/pack/plugins/opt/typescript-tools.nvim
url = https://github.com/pmizio/typescript-tools.nvim
ignore = dirty
[submodule "nvim-colorizer.lua"]
path = .config/nvim/pack/plugins/opt/nvim-colorizer.lua
url = https://github.com/NvChad/nvim-colorizer.lua

0 comments on commit 68530d1

Please sign in to comment.