aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_eval_files.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-09-23 07:14:10 -0700
committerGitHub <noreply@github.com>2024-09-23 07:14:10 -0700
commit34a40d3a50f71a4b5e06c36ed9f9110983984dbf (patch)
tree69f647ce5f5dba8f16cb2a55a2511b89df4db87e /scripts/gen_eval_files.lua
parent47e6b2233feffc6e9d94f6086fb904eb5688fa25 (diff)
parent17027d64726864c7bbdba5bee004eb581ac4b54a (diff)
downloadrneovim-34a40d3a50f71a4b5e06c36ed9f9110983984dbf.tar.gz
rneovim-34a40d3a50f71a4b5e06c36ed9f9110983984dbf.tar.bz2
rneovim-34a40d3a50f71a4b5e06c36ed9f9110983984dbf.zip
Merge #30435 refactor: rename "Dictionary" => "Dict"
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