From 119127accf284ca1c3163226e070ba3412629993 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 5 Feb 2024 22:30:55 -0500 Subject: un-object orient some functions --- lua/conf/binds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/conf/binds.lua') 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', 'x', '!chmod +x "%"') -- 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 -- cgit v1.2.1