diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-15 19:07:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 19:07:54 -0400 |
commit | 3566244d0e90d1efcf50d5136ab77d9a19aea9a1 (patch) | |
tree | 93f05e319daf5411ca5e78da3afdb30f18b7415b /test/functional/api/vim_spec.lua | |
parent | 4b00916e940d35c351482b2bd5e3822796d030a3 (diff) | |
download | rneovim-3566244d0e90d1efcf50d5136ab77d9a19aea9a1.tar.gz rneovim-3566244d0e90d1efcf50d5136ab77d9a19aea9a1.tar.bz2 rneovim-3566244d0e90d1efcf50d5136ab77d9a19aea9a1.zip |
gen_ex_cmds: simplify writes to defsfile (#13096)
defsfile:write() is executed multiple times to append strings.
Some of these can be combined into a format string, wrapped in [[]].
It is easier to read and insert strings via "%s".
defsfile now has a trailing comma for "cmdnames" array
but it does not break the build.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions