summaryrefslogtreecommitdiffstats
path: root/lua/conf/binds.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conf/binds.lua')
-rw-r--r--lua/conf/binds.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/conf/binds.lua b/lua/conf/binds.lua
index 11c791c..b5242a7 100644
--- a/lua/conf/binds.lua
+++ b/lua/conf/binds.lua
@@ -37,7 +37,7 @@ map('n', '<leader>x', '<cmd>!chmod +x "%"<CR>') -- execute order 111
a.nvim_create_autocmd('FileType', {
pattern = 'netrw',
callback = function()
- local bind = function(lhs, rhs)
+ local function bind(lhs, rhs)
vim.keymap.set('n', lhs, rhs, { remap = true, buffer = true })
end
bind('h', '-^') -- Go up a directory