From 5ebdd9399ff3b8034be6ebf69607313c5a200215 Mon Sep 17 00:00:00 2001 From: "Diego Miguel M. Villamil" Date: Sun, 11 May 2025 03:38:44 +0800 Subject: [PATCH] Added regex to treesitter ensure_installed for snacks.nvim --- lua/plugins/treesitter.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 7505957c..717ce69b 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -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' },