aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_eval_files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_eval_files.lua')
-rwxr-xr-xscripts/gen_eval_files.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_eval_files.lua b/scripts/gen_eval_files.lua
index 93621551ea..35af84ae28 100755
--- a/scripts/gen_eval_files.lua
+++ b/scripts/gen_eval_files.lua
@@ -112,7 +112,7 @@ local API_TYPES = {
String = 'string',
Array = 'any[]',
LuaRef = 'function',
- Dictionary = 'table<string,any>',
+ Dict = 'table<string,any>',
Float = 'number',
HLGroupID = 'number|string',
void = '',
@@ -140,7 +140,7 @@ local function api_type(t)
return 'vim.api.keyset.' .. d
end
- local d0 = t:match('^DictionaryOf%((.*)%)')
+ local d0 = t:match('^DictOf%((.*)%)')
if d0 then
return 'table<string,' .. api_type(d0) .. '>'
end