Skip to content

Commit 5ebdd93

Browse files
Added regex to treesitter ensure_installed for snacks.nvim
1 parent 3e6a648 commit 5ebdd93

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

lua/plugins/treesitter.lua

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,22 @@ return {
55
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
66
-- See `:help nvim-treesitter`
77
opts = {
8-
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'slint', 'java' },
8+
ensure_installed = {
9+
'bash',
10+
'c',
11+
'diff',
12+
'html',
13+
'lua',
14+
'luadoc',
15+
'markdown',
16+
'markdown_inline',
17+
'query',
18+
'vim',
19+
'vimdoc',
20+
'slint',
21+
'java',
22+
'regex',
23+
},
924
-- Autoinstall languages that are not installed
1025
auto_install = true,
1126
ignore_install = { 'latex' },

0 commit comments

Comments
 (0)