Nvim: initialize leap in lua script

This commit is contained in:
Robert Kmieć
2023-02-16 10:40:24 +01:00
parent f327679ca9
commit d1dbfe720d
4 changed files with 12 additions and 23 deletions

View File

@@ -0,0 +1,10 @@
return {
'ggandor/leap.nvim',
config = function()
local leap = require('leap')
leap.add_default_mappings()
vim.cmd([[
autocmd ColorScheme * lua require('leap').init_highlight(true)
]])
end
}