Skip to content

Commit

Permalink
chore: fix luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhitt committed Nov 5, 2024
1 parent c99b83a commit 58aa654
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .config/nvim/lua/core/mappings.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
-- luacheck: push ignore vim
local v = vim
-- luacheck: pop

local mappings = {
["i"] = {
Expand All @@ -17,7 +19,7 @@ local mappings = {
}

for k, table in pairs(mappings) do
for _, v in ipairs(table) do
vim.keymap.set(k, v.binding, v.cmd, v.opts)
for _, val in ipairs(table) do
v.keymap.set(k, val.binding, val.cmd, val.opts)
end
end

0 comments on commit 58aa654

Please sign in to comment.