Skip to content

Commit

Permalink
fix(utils): capitalization in comparison of defaults (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: tris203 <admin@snappeh.com>
  • Loading branch information
tris203 and tris203 authored Dec 22, 2023
1 parent 683e163 commit eccd881
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/hawtkeys/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ function M.merge_tables(t1, t2)
for _, v in pairs(t2) do
local found = false
for _, v2 in pairs(t3) do
if v2.lhs == v.lhs and v.from_file == "Vim Defaults" then
if
v2.lhs:lower() == v.lhs:lower()
and v.from_file == "Vim Defaults"
then
found = true
end
end
Expand Down

0 comments on commit eccd881

Please sign in to comment.