mirror of
https://github.com/neovim/neovim.git
synced 2026-01-20 03:47:02 +00:00
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.