aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/buffer_spec.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-10-18 10:48:29 -0400
committerJames McCoy <jamessan@jamessan.com>2016-10-18 10:48:29 -0400
commit73da9fdafddfe861bc2afdc300be1d4bc810cf7d (patch)
treee775e315017bd5efaf35676bcf0c05f71dfa7920 /test/functional/api/buffer_spec.lua
parent6bbd4b22982b05ee0f6d63e9faa842ea3b6b7c49 (diff)
downloadrneovim-73da9fdafddfe861bc2afdc300be1d4bc810cf7d.tar.gz
rneovim-73da9fdafddfe861bc2afdc300be1d4bc810cf7d.tar.bz2
rneovim-73da9fdafddfe861bc2afdc300be1d4bc810cf7d.zip
hist_char2type: Return '/' for NUL.
During -S execution, ccline.cmdfirstc is NULL, so calling histadd() with a hist-name of '' would fail. Mimic Vim's behavior and fallback to '/' in this scenario, since '' is a documented hist-name as of vim/vim@3e496b0e.
Diffstat (limited to 'test/functional/api/buffer_spec.lua')
0 files changed, 0 insertions, 0 deletions