|
@@ -33,7 +33,7 @@ return require("packer").startup(function(use)
|
|
end
|
|
end
|
|
}
|
|
}
|
|
|
|
|
|
- use {"hrsh7th/vim-vsnip", event = "InsertCharPre"}
|
|
|
|
|
|
+ use {"hrsh7th/vim-vsnip", event = "InsertEnter"}
|
|
use {"rafamadriz/friendly-snippets", event = "InsertEnter"}
|
|
use {"rafamadriz/friendly-snippets", event = "InsertEnter"}
|
|
|
|
|
|
-- Treesitter
|
|
-- Treesitter
|
|
@@ -41,7 +41,7 @@ return require("packer").startup(function(use)
|
|
|
|
|
|
use {
|
|
use {
|
|
"kyazdani42/nvim-tree.lua",
|
|
"kyazdani42/nvim-tree.lua",
|
|
- cmd = "NvimTreeToggle",
|
|
|
|
|
|
+ -- cmd = "NvimTreeToggle",
|
|
config = function()
|
|
config = function()
|
|
require("lv-nvimtree").config()
|
|
require("lv-nvimtree").config()
|
|
end
|
|
end
|
|
@@ -59,9 +59,6 @@ return require("packer").startup(function(use)
|
|
-- whichkey
|
|
-- whichkey
|
|
use {
|
|
use {
|
|
"folke/which-key.nvim",
|
|
"folke/which-key.nvim",
|
|
- config = function()
|
|
|
|
- require('lv-which-key').config()
|
|
|
|
- end
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-- Autopairs
|
|
-- Autopairs
|
|
@@ -206,10 +203,15 @@ return require("packer").startup(function(use)
|
|
disable = not O.plugin.indent_line.active
|
|
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-fzy-native.nvim", opt = true}
|
|
-- use {"nvim-telescope/telescope-project.nvim", opt = true}
|
|
-- use {"nvim-telescope/telescope-project.nvim", opt = true}
|
|
-- -- comments in context
|
|
-- -- comments in context
|
|
- -- use {'JoosepAlviste/nvim-ts-context-commentstring', opt = true}
|
|
|
|
-- -- Git extras
|
|
-- -- Git extras
|
|
-- Git
|
|
-- Git
|
|
-- use {'tpope/vim-fugitive', opt = true}
|
|
-- use {'tpope/vim-fugitive', opt = true}
|