Closed sbdchd closed 3 years ago
I would rather go with something similar to that: https://github.com/chrisbra/vim-commentary/commit/988203c955805208403ea1c0b31e9531c80f2bb1
I'd prefer a cleaner error message overall; would like to see this merge.
Looks like this got a different fix: 141d9d32a9fb58fe474fcc89cd7221eb2dd57b3a. Seems to do nothing on empty commentstring.
As discussed in issue #43, commentary will produce a messy error when commentstring is not defined. This fixes that issue by printing a warning message instead.
becomes