Skip to content

Commit a9f3fd2

Browse files
committed
update config for vim-illuminate
1 parent 012578b commit a9f3fd2

2 files changed

Lines changed: 17 additions & 12 deletions

File tree

lua/config/vim-illuminate.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
require("illuminate").configure {
2+
filetypes_denylist = {},
3+
filetypes_allowlist = {
4+
"go",
5+
"java",
6+
"javascript",
7+
"json",
8+
"lua",
9+
"python",
10+
"sh",
11+
"toml",
12+
"typescript",
13+
"yaml",
14+
},
15+
min_count_to_highlight = 2,
16+
}

lua/plugin_specs.lua

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -787,18 +787,7 @@ local plugin_specs = {
787787
"RRethy/vim-illuminate",
788788
event = "VeryLazy",
789789
config = function()
790-
require("illuminate").configure {
791-
filetypes_denylist = {},
792-
filetypes_allowlist = {
793-
"lua",
794-
"python",
795-
"sh",
796-
"yaml",
797-
"json",
798-
"toml",
799-
},
800-
min_count_to_highlight = 2,
801-
}
790+
require("config.vim-illuminate")
802791
end,
803792
},
804793
{

0 commit comments

Comments
 (0)