|
@@ -10,7 +10,6 @@ if fn.empty(fn.glob(install_path)) > 0 then
|
|
end
|
|
end
|
|
|
|
|
|
vim.cmd "autocmd BufWritePost plugins.lua PackerCompile" -- Auto compile when there are changes in plugins.lua
|
|
vim.cmd "autocmd BufWritePost plugins.lua PackerCompile" -- Auto compile when there are changes in plugins.lua
|
|
--- vim.cmd "autocmd BufWritePost lv-config.lua PackerCompile" -- Auto compile when there are changes in plugins.lua
|
|
|
|
|
|
|
|
return require("packer").startup(function(use)
|
|
return require("packer").startup(function(use)
|
|
-- Packer can manage itself as an optional plugin
|
|
-- Packer can manage itself as an optional plugin
|
|
@@ -48,7 +47,6 @@ return require("packer").startup(function(use)
|
|
end
|
|
end
|
|
}
|
|
}
|
|
|
|
|
|
- -- use {'lukas-reineke/indent-blankline.nvim', opt=true, branch = 'lua'}
|
|
|
|
use {
|
|
use {
|
|
"lewis6991/gitsigns.nvim",
|
|
"lewis6991/gitsigns.nvim",
|
|
|
|
|
|
@@ -187,11 +185,20 @@ return require("packer").startup(function(use)
|
|
event = "BufRead",
|
|
event = "BufRead",
|
|
disable = not O.plugin.ts_playground.active
|
|
disable = not O.plugin.ts_playground.active
|
|
}
|
|
}
|
|
- -- -- Latex
|
|
|
|
- -- use {"lervag/vimtex", opt = true}
|
|
|
|
|
|
+ -- use {'lukas-reineke/indent-blankline.nvim', opt=true, branch = 'lua'}
|
|
|
|
+ -- use {"nvim-telescope/telescope-fzy-native.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}
|
|
-- use {'JoosepAlviste/nvim-ts-context-commentstring', opt = true}
|
|
-- -- Git extras
|
|
-- -- Git extras
|
|
|
|
+ -- Git
|
|
|
|
+ -- use {'tpope/vim-fugitive', opt = true}
|
|
|
|
+ -- use {'tpope/vim-rhubarb', opt = true}
|
|
|
|
+ -- pwntester/octo.nvim
|
|
|
|
+
|
|
|
|
+ -- Easily Create Gists
|
|
|
|
+ -- use {'mattn/vim-gist', opt = true}
|
|
|
|
+ -- use {'mattn/webapi-vim', opt = true}
|
|
-- use {'f-person/git-blame.nvim', opt = true}
|
|
-- use {'f-person/git-blame.nvim', opt = true}
|
|
-- -- diagnostics
|
|
-- -- diagnostics
|
|
-- use {"folke/trouble.nvim", opt = true}
|
|
-- use {"folke/trouble.nvim", opt = true}
|
|
@@ -215,40 +222,20 @@ return require("packer").startup(function(use)
|
|
-- use {'numToStr/FTerm.nvim', opt = true}
|
|
-- use {'numToStr/FTerm.nvim', opt = true}
|
|
-- -- Sane gx for netrw_gx bug
|
|
-- -- Sane gx for netrw_gx bug
|
|
-- use {"felipec/vim-sanegx", opt = true}
|
|
-- use {"felipec/vim-sanegx", opt = true}
|
|
-
|
|
|
|
-- lsp root
|
|
-- lsp root
|
|
-- use {"ahmedkhalf/lsp-rooter.nvim", opt = true} -- with this nvim-tree will follow you
|
|
-- use {"ahmedkhalf/lsp-rooter.nvim", opt = true} -- with this nvim-tree will follow you
|
|
|
|
+ -- -- Latex TODO what filetypes should this be active for?
|
|
|
|
+ -- use {"lervag/vimtex", opt = true}
|
|
|
|
|
|
-- Extras
|
|
-- Extras
|
|
- if O.extras then
|
|
|
|
- -- HTML preview
|
|
|
|
- use {
|
|
|
|
- 'turbio/bracey.vim',
|
|
|
|
- run = 'npm install --prefix server',
|
|
|
|
- opt = true
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- use {"nvim-telescope/telescope-fzy-native.nvim", opt = true}
|
|
|
|
- use {"nvim-telescope/telescope-project.nvim", opt = true}
|
|
|
|
-
|
|
|
|
- -- Autotag
|
|
|
|
- -- use {"windwp/nvim-ts-autotag", opt = true}
|
|
|
|
- -- require_plugin("nvim-ts-autotag")
|
|
|
|
-
|
|
|
|
- -- folke/todo-comments.nvim
|
|
|
|
- -- gennaro-tedesco/nvim-jqx
|
|
|
|
- -- TimUntersberger/neogit
|
|
|
|
- -- folke/lsp-colors.nvim
|
|
|
|
- -- simrat39/symbols-outline.nvim
|
|
|
|
-
|
|
|
|
- -- Git
|
|
|
|
- -- use {'tpope/vim-fugitive', opt = true}
|
|
|
|
- -- use {'tpope/vim-rhubarb', opt = true}
|
|
|
|
- -- pwntester/octo.nvim
|
|
|
|
-
|
|
|
|
- -- Easily Create Gists
|
|
|
|
- -- use {'mattn/vim-gist', opt = true}
|
|
|
|
- -- use {'mattn/webapi-vim', opt = true}
|
|
|
|
- end
|
|
|
|
-
|
|
|
|
|
|
+ -- HTML preview
|
|
|
|
+ -- use {
|
|
|
|
+ -- 'turbio/bracey.vim',
|
|
|
|
+ -- run = 'npm install --prefix server',
|
|
|
|
+ -- opt = true
|
|
|
|
+ -- }
|
|
|
|
+ -- folke/todo-comments.nvim
|
|
|
|
+ -- gennaro-tedesco/nvim-jqx
|
|
|
|
+ -- TimUntersberger/neogit
|
|
|
|
+ -- folke/lsp-colors.nvim
|
|
end)
|
|
end)
|