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 = {