aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/javascriptreact.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-05-02 10:46:23 -0400
committerGitHub <noreply@github.com>2026-05-02 10:46:23 -0400
commitd788dd2811bfbfb0daa915ef974d072075a6bceb (patch)
tree1ef170ffe3819171b3881db63a5aa6fc2bee4056 /runtime/indent/javascriptreact.vim
parent22f3b283672bc3e4a8d87cfa18e9764abdf876b7 (diff)
downloadrneovim-d788dd2811bfbfb0daa915ef974d072075a6bceb.tar.gz
rneovim-d788dd2811bfbfb0daa915ef974d072075a6bceb.tar.bz2
rneovim-d788dd2811bfbfb0daa915ef974d072075a6bceb.zip
refactor(excmd): pass fargs to Lua for builtin cmds #39528
Problem: The fallback that tokenizes `eap->arg` by unescaped whitespace (when the parser doesn't pre-split via `EX_EXPAND` etc.) lives in `nlua_do_ucmd`, so only user-command callbacks got `eap.fargs`. Builtin commands routed through `nlua_call_excmd` have to re-parse the args themselves (e.g. `M.ex_lsp`). Solution: - Move the tokenization into `nlua_push_eap` so every Lua handler sees `eap.fargs`. Keep only the `EX_NOSPC` override in `nlua_do_ucmd` (the `nargs=1`/`?` case which is genuinely user-command-specific). - Drop the re-parse in `M.ex_lsp`.
Diffstat (limited to 'runtime/indent/javascriptreact.vim')
0 files changed, 0 insertions, 0 deletions