You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nvr --remotesend ":bd<cr>" opens a file named ":bd<cr>", and nvr --remote-send ":bd<cr>" deletes buffer in the focussed window.
The former was a typo that I made few couple of times already, while actually wanting to do the latter. And the difference between them is an inconspicuous hyphen. It clutters the session with more buffers, would be better to rather raise an error.
Another example:
nvr --weird "weird.txt" creates two buffers for two new files --weird and weird.txt without raising any error that weird is not a legit option.
The text was updated successfully, but these errors were encountered:
poetaman
changed the title
Raise errors for confusingly close wrong patterns in args
Raise errors for confusingly close & wrong patterns in args
Jan 31, 2021
nvr --remotesend ":bd<cr>"
opens a file named ":bd<cr>
", andnvr --remote-send ":bd<cr>"
deletes buffer in the focussed window.The former was a typo that I made few couple of times already, while actually wanting to do the latter. And the difference between them is an inconspicuous hyphen. It clutters the session with more buffers, would be better to rather raise an error.
Another example:
nvr --weird "weird.txt"
creates two buffers for two new files--weird
andweird.txt
without raising any error thatweird
is not a legit option.The text was updated successfully, but these errors were encountered: