aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/system_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-01-01 03:14:13 +0100
committerJustin M. Keyes <justinkz@gmail.com>2023-01-05 17:10:02 +0100
commit45549f031ee52a01601c33acc411f3111cfc4e95 (patch)
treeb9c772a2ba9b0f226f5f6926417d22b0a0f3f207 /test/functional/vimscript/system_spec.lua
parent599e1d019aa010d4e3c56e6bad3d1c406dda5b0f (diff)
downloadrneovim-45549f031ee52a01601c33acc411f3111cfc4e95.tar.gz
rneovim-45549f031ee52a01601c33acc411f3111cfc4e95.tar.bz2
rneovim-45549f031ee52a01601c33acc411f3111cfc4e95.zip
feat(lua): send "--" literally to Lua "-l" script
Problem: When "-l" is followed by "--", we stop sending args to the Lua script and treat "--" in the usual way. This was for flexibility but didn't have a strong use-case, and has these problems: - prevents Lua "-l" scripts from handling "--" in their own way. - complicates the startup logic (must call nlua_init before command_line_scan) Solution: Don't treat "--" specially if it follows "-l".
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
0 files changed, 0 insertions, 0 deletions