From 89ea86f0ae322fa9a207f03fcd6974c3ae9f35a2 Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Mon, 28 Jun 2021 01:46:25 -0400 Subject: handsome new plugin config --- lua/plugins.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lua/plugins.lua') 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 -- cgit v1.2.3