summaryrefslogtreecommitdiffstats
path: root/lua/conf
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-02-05 22:30:55 -0500
committerSquibid <me@zacharyscheiman.com>2024-02-05 22:30:55 -0500
commit119127accf284ca1c3163226e070ba3412629993 (patch)
tree3fdf9c96ea29304bd6122e15bb6d435a7c7339f5 /lua/conf
parentd94b454eb61a0d0a99f9939560506c2db24f3315 (diff)
downloadnvim-119127accf284ca1c3163226e070ba3412629993.tar.gz
nvim-119127accf284ca1c3163226e070ba3412629993.tar.bz2
nvim-119127accf284ca1c3163226e070ba3412629993.zip
un-object orient some functions
Diffstat (limited to '')
-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