Skip to content

Commit abfa44c

Browse files
author
Ali Shahid
committed
[nvim-colorizer.lua] attact only on certain filetype
1 parent 86bc844 commit abfa44c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/plugins/nvim-colorizer_lua.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ if not colorizer_imported_ok then return end
2020

2121
colorizer.setup({
2222
'css',
23+
'scss',
24+
'sass',
2325
'html',
2426
'javascript',
2527
'javascriptreact',
@@ -28,7 +30,7 @@ colorizer.setup({
2830
'vim',
2931
'dart',
3032
'python',
31-
'*',
33+
-- '*', -- all file type
3234

3335
}, {mode = 'background', names = true, css = true, css_fn = true})
3436

0 commit comments

Comments
 (0)