Skip to content

Commit 6ea387b

Browse files
committed
chore: remove unnecessary 0.10 check
1 parent c797dd5 commit 6ea387b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lua/astrocore/init.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,9 @@ end
242242
---@return table<string,table> mappings a table with entries for each map mode
243243
function M.empty_map_table()
244244
local maps = {}
245-
for _, mode in ipairs { "", "n", "v", "x", "s", "o", "!", "i", "l", "c", "t" } do
245+
for _, mode in ipairs { "", "n", "v", "x", "s", "o", "!", "i", "l", "c", "t", "ia", "ca", "!a" } do
246246
maps[mode] = {}
247247
end
248-
if vim.fn.has "nvim-0.10.0" == 1 then
249-
for _, abbr_mode in ipairs { "ia", "ca", "!a" } do
250-
maps[abbr_mode] = {}
251-
end
252-
end
253248
return maps
254249
end
255250

0 commit comments

Comments
 (0)