diff options
author | christianchiarulli <[email protected]> | 2021-06-27 15:40:45 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-06-27 15:40:45 -0400 |
commit | 1dbb05ed5de0927ede5d0fb0733498674aef8409 (patch) | |
tree | b328cd298614f1cc5a6920b80e3870819cddc750 /lua/plugins.lua | |
parent | c1c8cd600c01ad17b8ec3a6aba9e37ec186a148e (diff) |
more lazy loading
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index c51426f0..49cb8697 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -35,12 +35,12 @@ 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", event = "BufRead", opt = true} - use {"glepnir/lspsaga.nvim", opt = true} + use {"glepnir/lspsaga.nvim", event = "BufRead", opt = true} use {"kabouzeid/nvim-lspinstall", opt = true} -- Telescope use {"nvim-lua/popup.nvim", opt = true} use {"nvim-lua/plenary.nvim", opt = true} - use {"nvim-telescope/telescope.nvim", opt = true} + use {"nvim-telescope/telescope.nvim", cmd = "Telescope", opt = true} -- Autocomplete use {"hrsh7th/nvim-compe", event = "InsertEnter", opt = true} @@ -68,6 +68,7 @@ return require("packer").startup(function(use) -- Comments use { "terrortylor/nvim-comment", + cmd = "CommentToggle", config = require_plugin("nvim-comment"), opt = true } |