Skip to content

Commit 45117cf

Browse files
committed
fix(mappings): fix de-indenting clash
1 parent e2537f9 commit 45117cf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lua/archer/mappings.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,12 @@ local function setup_ending(opts) --{{{
106106
local end_mapping = {}
107107

108108
for name, val in pairs(opts) do
109-
end_mapping[name:upper()] = {
110-
add = val.add,
111-
remove = val.remove,
112-
}
109+
if name ~= "modifier" then
110+
end_mapping[name:upper()] = {
111+
add = val.add,
112+
remove = val.remove,
113+
}
114+
end
113115
end
114116

115117
for n, tuple in pairs(end_mapping) do

0 commit comments

Comments
 (0)