aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nvim
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-05-22 10:42:33 -0500
committerToby Vincent <tobyv13@gmail.com>2023-05-22 10:42:33 -0500
commitaaa7efbc758dcea7231a569e704ef8ea407f2576 (patch)
treebeec6ae5799cc0ebd01b7318839fd9b8b2cfab37 /nvim
parent6e711694aeaba1e8abbc9d19fa68320a0114a706 (diff)
fix(nvim): restrict filetypes for colorizer
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lua/plugins/core.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/nvim/.config/nvim/lua/plugins/core.lua b/nvim/.config/nvim/lua/plugins/core.lua
index 9e6b8af..655745b 100644
--- a/nvim/.config/nvim/lua/plugins/core.lua
+++ b/nvim/.config/nvim/lua/plugins/core.lua
@@ -19,9 +19,14 @@ local M = {
"NvChad/nvim-colorizer.lua",
event = "BufReadPre",
opts = {
- filetypes = { "*" },
+ filetypes = {
+ "css",
+ "javascript",
+ "html",
+ "htmldjango",
+ },
user_default_options = {
- mode = "virtualtext", -- Set the display mode.
+ mode = "virtualtext",
always_update = true,
},
},