From 5776a84ce3c90abfeac13cb35cdac3337e9a48db Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 3 Nov 2023 16:17:43 -0500 Subject: [PATCH] refactor(nvim): auto install needed ts parsers --- dots/.config/nvim/lua/plugins/configs/treesitter.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/treesitter.lua b/dots/.config/nvim/lua/plugins/configs/treesitter.lua index 6d7625b6..7d610a1e 100644 --- a/dots/.config/nvim/lua/plugins/configs/treesitter.lua +++ b/dots/.config/nvim/lua/plugins/configs/treesitter.lua @@ -131,7 +131,8 @@ return { require("nvim-treesitter.configs").setup({ parser_install_dir = treesitter_dir, - ensure_installed = "all", + auto_install = true, + ignore_install = { "comment" }, incremental_selection = { enable = true, keymaps = {