mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +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.