diff options
author | James McCoy <jamessan@jamessan.com> | 2017-11-09 23:19:25 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-11-12 16:45:39 -0500 |
commit | cf75de710cfb817871cb614f2091a11f069db2b7 (patch) | |
tree | accace8dc55504706bf22a7dbf4c6e94bdd78e5a /src/nvim/syntax.c | |
parent | 69e33087716ce67bfda5f67a42f83d77906111f7 (diff) | |
download | rneovim-cf75de710cfb817871cb614f2091a11f069db2b7.tar.gz rneovim-cf75de710cfb817871cb614f2091a11f069db2b7.tar.bz2 rneovim-cf75de710cfb817871cb614f2091a11f069db2b7.zip |
tui_spec: Convert nil to "" before formatting it
This fixes an apparent difference in behavior between Lua and LuaJIT.
Lua fails to format nil:
test/functional/terminal/tui_spec.lua:381: bad argument #2 to 'format' (string expected, got nil)
Diffstat (limited to 'src/nvim/syntax.c')
0 files changed, 0 insertions, 0 deletions