Added regex to treesitter ensure_installed for snacks.nvim

This commit is contained in:
Diego Miguel M. Villamil 2025-05-11 03:38:44 +08:00
parent 3e6a648ef1
commit 5ebdd9399f
1 changed files with 16 additions and 1 deletions

View File

@ -5,7 +5,22 @@ return {
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- See `:help nvim-treesitter`
opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'slint', 'java' },
ensure_installed = {
'bash',
'c',
'diff',
'html',
'lua',
'luadoc',
'markdown',
'markdown_inline',
'query',
'vim',
'vimdoc',
'slint',
'java',
'regex',
},
-- Autoinstall languages that are not installed
auto_install = true,
ignore_install = { 'latex' },