diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-26 20:23:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-26 20:23:27 +0800 |
commit | 85caaa70d44b7b18c633aa0b140de5f3f6d3eee7 (patch) | |
tree | 0f1cee3a5f54508e6cf8de4832f10f4ab3fbef56 /scripts/lintdoc.lua | |
parent | c619d1da619b362217112d8165e2495860c5b056 (diff) | |
download | rneovim-85caaa70d44b7b18c633aa0b140de5f3f6d3eee7.tar.gz rneovim-85caaa70d44b7b18c633aa0b140de5f3f6d3eee7.tar.bz2 rneovim-85caaa70d44b7b18c633aa0b140de5f3f6d3eee7.zip |
refactor(gen_api_dispatch): avoid trailing spaces (#32632)
Problem:
Generated Lua API bindings may have trailing spaces (e.g. nvim_set_hl).
Solution:
Add leading spaces only if arg_free_code is non-empty.
Also:
- Remove an unnecessary string.format() in write_shifted_output() args.
- Fix incorrect indent for the nlua_push_keydict() below.
Diffstat (limited to 'scripts/lintdoc.lua')
0 files changed, 0 insertions, 0 deletions