From e9ef308f5d8b8a616cbcee31894c799382d088e3 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 21 Apr 2022 20:59:25 +0200 Subject: [PATCH] rmove autoclose and set treesitter to all --- nvim/.config/nvim/lua/plugins.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 453e815..e53bd5c 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -289,7 +289,6 @@ return require('packer').startup { config = function() vim.api.nvim_set_keymap("n", "t", "NvimTreeToggle", {}) require("nvim-tree").setup({ - auto_close = true, update_focused_file = { enable = true, }, @@ -340,14 +339,14 @@ return require('packer').startup { fast_wrap= {}, } end - }) +}) use({ 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate', config = function() require'nvim-treesitter.configs'.setup { - ensure_installed = "maintained", + ensure_installed = "all", highlight = { enable = true }