diff options
author | christianchiarulli <[email protected]> | 2021-07-10 03:19:44 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-10 03:19:44 -0400 |
commit | b02a5a207f355e945c102e17197834dc1ea2103c (patch) | |
tree | b995d5404537958cd79733be4ec79c26b5d91214 /lua/plugins.lua | |
parent | 619709eb2f0c32e0c96b1983403a6e84911c3895 (diff) |
udpate plugin list
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 90 |
1 files changed, 40 insertions, 50 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index ce12ca7f..e150efc7 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -30,10 +30,11 @@ return require("packer").startup(function(use) -- TODO refactor all of this (for now it works, but yes I know it could be wrapped in a simpler function) use { "neovim/nvim-lspconfig" } use { "kabouzeid/nvim-lspinstall", event = "VimEnter" } - -- Telescope use { "nvim-lua/popup.nvim" } use { "nvim-lua/plenary.nvim" } use { "tjdevries/astronauta.nvim" } + + -- Telescope use { "nvim-telescope/telescope.nvim", config = [[require('lv-telescope')]], @@ -64,9 +65,10 @@ return require("packer").startup(function(use) event = "BufRead", } + -- NvimTree use { "kyazdani42/nvim-tree.lua", - -- event = "BufEnter", + -- event = "BufWinOpen", -- cmd = "NvimTreeToggle", commit = "fd7f60e242205ea9efc9649101c81a07d5f458bb", config = function() @@ -136,6 +138,24 @@ return require("packer").startup(function(use) event = "BufWinEnter", } + -- Debugging + use { + "mfussenegger/nvim-dap", + event = "BufWinEnter", + config = function() + require "lv-dap" + end, + disable = not O.plugin.dap.active, + } + + -- Debugger management + use { + "Pocco81/DAPInstall.nvim", + event = "BufWinEnter", + -- event = "BufRead", + disable = not O.plugin.dap.active, + } + -- Builtins, these do not load by default -- Dashboard @@ -148,6 +168,17 @@ return require("packer").startup(function(use) disable = not O.plugin.dashboard.active, } + -- TODO remove in favor of akinsho/nvim-toggleterm.lua + -- Floating terminal + use { + "numToStr/FTerm.nvim", + event = "BufWinEnter", + config = function() + require("lv-floatterm").config() + end, + disable = not O.plugin.floatterm.active, + } + -- Zen Mode use { "folke/zen-mode.nvim", @@ -179,47 +210,20 @@ return require("packer").startup(function(use) disable = not O.plugin.indent_line.active, } - -- comments in context + -- Diffview use { - "JoosepAlviste/nvim-ts-context-commentstring", + "sindrets/diffview.nvim", event = "BufRead", - disable = not O.plugin.ts_context_commentstring.active, - } - - -- Debugging - use { - "mfussenegger/nvim-dap", - event = "BufWinEnter", - config = function() - require "lv-dap" - end, - disable = not O.plugin.dap.active, - } - - -- Debugger management - use { - "Pocco81/DAPInstall.nvim", - event = "BufWinEnter", - -- event = "BufRead", - disable = not O.plugin.dap.active, + disable = not O.plugin.diffview.active, } - -- TODO remove in favor of akinsho/nvim-toggleterm.lua - -- Floating terminal - use { - "numToStr/FTerm.nvim", - event = "BufWinEnter", - config = function() - require("lv-floatterm").config() - end, - disable = not O.plugin.floatterm.active, - } + --------------------------------------------------------------------------------- - -- Use fzy for telescope + -- comments in context use { - "nvim-telescope/telescope-fzy-native.nvim", + "JoosepAlviste/nvim-ts-context-commentstring", event = "BufRead", - disable = not O.plugin.telescope_fzy.active, + disable = not O.plugin.ts_context_commentstring.active, } -- Use project for telescope @@ -232,13 +236,6 @@ return require("packer").startup(function(use) disable = not O.plugin.telescope_project.active, } - -- Diffview - use { - "sindrets/diffview.nvim", - event = "BufRead", - disable = not O.plugin.diffview.active, - } - -- Lush Create Color Schemes use { "rktjmp/lush.nvim", @@ -296,13 +293,6 @@ return require("packer").startup(function(use) -- end, -- } - -- Autotags <div>|</div> - use { - "windwp/nvim-ts-autotag", - event = "InsertEnter", - disable = not O.plugin.ts_autotag.active, - } - -- Custom semantic text objects use { "nvim-treesitter/nvim-treesitter-textobjects", |