summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-06-28 01:46:25 -0400
committerchristianchiarulli <[email protected]>2021-06-28 01:46:25 -0400
commit89ea86f0ae322fa9a207f03fcd6974c3ae9f35a2 (patch)
treebbecfd22a8025a9d751243a3bca64da23840121e /lua/plugins.lua
parentf99b82bd6e7d4d317e082411f5192c76097b7149 (diff)
handsome new plugin config
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 20d0a167..9aa56b56 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -27,7 +27,8 @@ local function require_plugin(plugin)
return ok, err, code
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)
-- Packer can manage itself as an optional plugin
@@ -109,6 +110,15 @@ return require("packer").startup(function(use)
}
use {"hrsh7th/vim-vsnip"}
+ use {
+ event = 'BufRead',
+ 'phaazon/hop.nvim',
+ config = function()
+ require('lv-hop').config()
+ end,
+ disable = not O.plugins.hop.active,
+ opt = true
+ }
-- extras
-- if O.matchup then require('lv-matchup') end