diff options
| author | bfredl <bjorn.linse@gmail.com> | 2022-07-19 13:08:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-19 13:08:11 +0200 |
| commit | 101fd04ee2036b125a93f3e71dbaa4ae6917ce8b (patch) | |
| tree | 424ebcabeecf4c0e88cb5b7b7cb6e407bc11de63 /src/nvim/generators | |
| parent | 93bd6fb2c8e1f68a48169a63caae1fc0b4797a8a (diff) | |
| parent | f87c8245133dd8116a9bab2d2e89f9b26967c7a8 (diff) | |
| download | rneovim-101fd04ee2036b125a93f3e71dbaa4ae6917ce8b.tar.gz rneovim-101fd04ee2036b125a93f3e71dbaa4ae6917ce8b.tar.bz2 rneovim-101fd04ee2036b125a93f3e71dbaa4ae6917ce8b.zip | |
Merge pull request #19409 from bfredl/uiunpack
perf(ui): some ui_client fixes/optimizations before externalized TUI
Diffstat (limited to 'src/nvim/generators')
| -rw-r--r-- | src/nvim/generators/gen_api_dispatch.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/generators/gen_api_dispatch.lua b/src/nvim/generators/gen_api_dispatch.lua index 4cf282770d..b167767f7a 100644 --- a/src/nvim/generators/gen_api_dispatch.lua +++ b/src/nvim/generators/gen_api_dispatch.lua @@ -91,7 +91,7 @@ local deprecated_aliases = require("api.dispatch_deprecated") for _,f in ipairs(shallowcopy(functions)) do local ismethod = false if startswith(f.name, "nvim_") then - if startswith(f.name, "nvim__") then + if startswith(f.name, "nvim__") or f.name == "nvim_error_event" then f.since = -1 elseif f.since == nil then print("Function "..f.name.." lacks since field.\n") @@ -149,7 +149,7 @@ local exported_attributes = {'name', 'return_type', 'method', 'since', 'deprecated_since'} local exported_functions = {} for _,f in ipairs(functions) do - if not startswith(f.name, "nvim__") then + if not (startswith(f.name, "nvim__") or f.name == "nvim_error_event") then local f_exported = {} for _,attr in ipairs(exported_attributes) do f_exported[attr] = f[attr] |