summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-06-28 13:52:49 -0400
committerchristianchiarulli <[email protected]>2021-06-28 13:52:49 -0400
commit5363aa630682b50cf2e13e213e12da00dc1d2c4d (patch)
tree4e459f4e0c7faf236a731b9ccee7f796c68a33a2 /lua/plugins.lua
parentb6866925e1bdf2b010de2178898ba8edc1b976f6 (diff)
bug fixes
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua14
1 files changed, 8 insertions, 6 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 6f451aab..0a7fba50 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -33,7 +33,7 @@ return require("packer").startup(function(use)
end
}
- use {"hrsh7th/vim-vsnip", event = "InsertCharPre"}
+ use {"hrsh7th/vim-vsnip", event = "InsertEnter"}
use {"rafamadriz/friendly-snippets", event = "InsertEnter"}
-- Treesitter
@@ -41,7 +41,7 @@ return require("packer").startup(function(use)
use {
"kyazdani42/nvim-tree.lua",
- cmd = "NvimTreeToggle",
+ -- cmd = "NvimTreeToggle",
config = function()
require("lv-nvimtree").config()
end
@@ -59,9 +59,6 @@ return require("packer").startup(function(use)
-- whichkey
use {
"folke/which-key.nvim",
- config = function()
- require('lv-which-key').config()
- end
}
-- Autopairs
@@ -206,10 +203,15 @@ return require("packer").startup(function(use)
disable = not O.plugin.indent_line.active
}
+ use {
+ 'JoosepAlviste/nvim-ts-context-commentstring',
+ event = "BufRead",
+ disable = not O.plugin.ts_context_commentstring.active
+ }
+
-- use {"nvim-telescope/telescope-fzy-native.nvim", opt = true}
-- use {"nvim-telescope/telescope-project.nvim", opt = true}
-- -- comments in context
- -- use {'JoosepAlviste/nvim-ts-context-commentstring', opt = true}
-- -- Git extras
-- Git
-- use {'tpope/vim-fugitive', opt = true}