summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-03-19 15:54:21 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2022-03-19 15:54:21 +0100
commit2757854124db5f34af5d2010f0fb0ef6a6b9dcf4 (patch)
tree2a0b141dcc8c3d7a3d6988fb630d958f7ea7c553 /.config/nvim/lua/plugins.lua
parentab8266fb6218ceb160db64fe1573708b51273f9c (diff)
nvim: smarter use of autocmd
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index da232d4..ffb40d4 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -3,24 +3,24 @@ local packer = require("packer")
local plugins = {
{ "nathom/filetype.nvim" },
- {
+ {
"nvim-lua/plenary.nvim",
opt = true,
},
{
"lewis6991/impatient.nvim",
- config = function()
- require("impatient")
+ config = function()
+ require("impatient")
end,
},
- {
+ {
"wbthomason/packer.nvim",
event = "VimEnter",
},
- {
+ {
"adast9/onedark.nvim",
after = "packer.nvim",
config = function()
@@ -69,7 +69,7 @@ local plugins = {
-- lsp stuff
- {
+ {
"neovim/nvim-lspconfig",
event = { "BufRead" , "BufNewFile" },
},
@@ -132,7 +132,7 @@ local plugins = {
end,
},
- {
+ {
"tpope/vim-surround",
event = { "BufRead" , "BufNewFile" },
},
@@ -145,7 +145,7 @@ local plugins = {
end,
},
- {
+ {
"BurntSushi/ripgrep",
opt = true,
},