fix map function alias being global variable

This commit is contained in:
LordMZTE 2021-11-25 00:35:00 +01:00
parent 5ef6d39997
commit cecae27c9b

View file

@ -1,4 +1,4 @@
map = vim.api.nvim_set_keymap
local map = vim.api.nvim_set_keymap
function escape_keycode(keycode)
return vim.api.nvim_replace_termcodes(keycode, true, true, true)