summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/luasnip.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-07 13:39:01 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-07 13:39:01 +0100
commit26e9302a62b7461ebffda8ae9a56025a90658194 (patch)
tree73147340e6c9eef3d3cba0fffc96c811c39be4c3 /.config/nvim/after/plugin/luasnip.lua
parent057345a82b916bb3b1043b0b91fe3a86631ce572 (diff)
nvim: Use vim.keymap.set directly
Diffstat (limited to '.config/nvim/after/plugin/luasnip.lua')
-rw-r--r--.config/nvim/after/plugin/luasnip.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/.config/nvim/after/plugin/luasnip.lua b/.config/nvim/after/plugin/luasnip.lua
index 42103bc..8216615 100644
--- a/.config/nvim/after/plugin/luasnip.lua
+++ b/.config/nvim/after/plugin/luasnip.lua
@@ -1,5 +1,4 @@
local luasnip = require('luasnip')
-local lib = require('mango.lib')
-lib.remap('i', '<C-l>', function() luasnip.jump(1) end)
-lib.remap('i', '<C-h>', function() luasnip.jump(-1) end)
+vim.keymap.set('i', '<C-l>', function() luasnip.jump(1) end)
+vim.keymap.set('i', '<C-h>', function() luasnip.jump(-1) end)