tyru / caw.vim

Vim comment plugin: supported operator/non-operator mappings, repeatable by dot-command, 300+ filetypes
379 stars 48 forks source link

Fix a bug where it fails to uncomment with tree-sitter #171

Closed hexium310 closed 1 year ago

hexium310 commented 3 years ago

There were cases where hl_map[name] is nil and then an error occurs at string.match(). In that case, the script stops, so uncommenting didn't work.

tyru commented 1 year ago

Sorry for late... Thanks.