From 1a8154b1950473384a4ff4d7a2119ab70246a608 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Thu, 2 Mar 2023 21:30:49 -0800 Subject: [PATCH] updates --- lua/plugins.lua | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 3e365a7..cfdde3f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -3,7 +3,19 @@ return { --vimp (in mappings.lua) 'svermeulen/vimpeccable', - 'nvim-treesitter/nvim-treesitter', + { + 'nvim-treesitter/nvim-treesitter', + config = function() + require 'nvim-treesitter.configs'.setup { + -- Install parsers synchronously (only applied to `ensure_installed`) + sync_install = false, + + -- Automatically install missing parsers when entering buffer + -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally + auto_install = true, + } + end + }, 'ctrlpvim/ctrlp.vim', @@ -136,6 +148,19 @@ return { end }, + + + { 'akinsho/toggleterm.nvim', version = "*", config = true }, + + { + "kylechui/nvim-surround", + config = function() + require("nvim-surround").setup({ + -- Configuration here, or leave empty to use defaults + }) + end + }, + -- open file at last location { 'ethanholz/nvim-lastplace', @@ -175,6 +200,17 @@ return { end }, + { 'akinsho/toggleterm.nvim', version = "*", config = true }, + + { + "kylechui/nvim-surround", + config = function() + require("nvim-surround").setup({ + -- Configuration here, or leave empty to use defaults + }) + end + }, + { "hrsh7th/nvim-cmp", dependencies = {