|
@@ -330,21 +330,45 @@ return require("packer").startup(function(use)
|
|
requires = 'nvim-lua/plenary.nvim'
|
|
requires = 'nvim-lua/plenary.nvim'
|
|
|
|
|
|
}
|
|
}
|
|
- -- Git
|
|
|
|
- -- https://github.com/kdheepak/lazygit.nvim
|
|
|
|
- -- pwntester/octo.nvim
|
|
|
|
- -- use 'sindrets/diffview.nvim'
|
|
|
|
|
|
+ -- Lazygit
|
|
|
|
+ use {
|
|
|
|
+ "kdheepak/lazygit.nvim",
|
|
|
|
+ cmd = "LazyGit",
|
|
|
|
+ disable = not O.plugin.lazygit.active
|
|
|
|
+ }
|
|
|
|
+ -- Lazygit
|
|
|
|
+ use {
|
|
|
|
+ "pwntester/octo.nvim",
|
|
|
|
+ event = "BufRead",
|
|
|
|
+ disable = not O.plugin.octo.active
|
|
|
|
+ }
|
|
|
|
+ -- Diffview
|
|
|
|
+ use {
|
|
|
|
+ "sindrets/diffview.nvim",
|
|
|
|
+ event = "BufRead",
|
|
|
|
+ disable = not O.plugin.diffview.active
|
|
|
|
+ }
|
|
-- Easily Create Gists
|
|
-- Easily Create Gists
|
|
- -- use {'mattn/vim-gist', opt = true}
|
|
|
|
- -- use {'mattn/webapi-vim', opt = true}
|
|
|
|
-
|
|
|
|
- -- Not sure yet
|
|
|
|
|
|
+ use {
|
|
|
|
+ "mattn/vim-gist",
|
|
|
|
+ event = "BufRead",
|
|
|
|
+ disable = not O.plugin.gist.active,
|
|
|
|
+ requires = 'mattn/webapi-vim'
|
|
|
|
+ }
|
|
-- HTML preview
|
|
-- HTML preview
|
|
- -- use {
|
|
|
|
- -- 'turbio/bracey.vim',
|
|
|
|
- -- run = 'npm install --prefix server',
|
|
|
|
- -- opt = true
|
|
|
|
- -- }
|
|
|
|
|
|
+ use {
|
|
|
|
+ 'turbio/bracey.vim',
|
|
|
|
+ event = "BufRead",
|
|
|
|
+ run = 'npm install --prefix server',
|
|
|
|
+ disable = not O.plugin.bracey.active
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ -- LANGUAGE SPECIFIC GOES HERE
|
|
|
|
+
|
|
-- Latex TODO what filetypes should this be active for?
|
|
-- Latex TODO what filetypes should this be active for?
|
|
- -- use {"lervag/vimtex", opt = true}
|
|
|
|
|
|
+ use {
|
|
|
|
+ "lervag/vimtex",
|
|
|
|
+ ft = "latex",
|
|
|
|
+ disable = not O.lang.latex.active
|
|
|
|
+ }
|
|
end)
|
|
end)
|