diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-08-26 15:31:16 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-08-28 11:34:01 +0200 |
| commit | c10e36fc016cb265026a772571ce0a405df2ab71 (patch) | |
| tree | 2918f8f85fbd9595eb55af33033acde417d415d2 /src/gen/gen_api_dispatch.lua | |
| parent | a33284c2c068a9204330bc941e274b1f5bd9f5c6 (diff) | |
| download | rneovim-c10e36fc016cb265026a772571ce0a405df2ab71.tar.gz rneovim-c10e36fc016cb265026a772571ce0a405df2ab71.tar.bz2 rneovim-c10e36fc016cb265026a772571ce0a405df2ab71.zip | |
refactor(lua): consistent use of local aliases
Diffstat (limited to 'src/gen/gen_api_dispatch.lua')
| -rw-r--r-- | src/gen/gen_api_dispatch.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen/gen_api_dispatch.lua b/src/gen/gen_api_dispatch.lua index 933d4d0ef0..e27d322f5a 100644 --- a/src/gen/gen_api_dispatch.lua +++ b/src/gen/gen_api_dispatch.lua @@ -421,7 +421,7 @@ for _, k in ipairs(keysets) do local function typename(type) if type == 'HLGroupID' then return 'kObjectTypeInteger' - elseif not type or vim.startswith(type, 'Union') then + elseif not type or startswith(type, 'Union') then return 'kObjectTypeNil' elseif type == 'StringArray' then return 'kUnpackTypeStringArray' |