-
Often times, I toggle off groups of consecutive statements. Those groups are each separated by empty lines. Then when I want to toggle on all of the groups. This does not work, because of the empty lines between them: I cannot think of a situation where the current behavior is the one I would want, but I might be missing something. Perhaps this is already possible with the plugin, but I don't know how. Any thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Why not ignore empty lines completely? require'Comment'.setup({ ignore = '^$' }) Please read: https://github.com/numToStr/Comment.nvim#-ignoring-lines |
Beta Was this translation helpful? Give feedback.
-
(Also please use https://github.com/numToStr/Comment.nvim/discussions for asking questions :) ) |
Beta Was this translation helpful? Give feedback.
-
Shame on me. Sorry for wasting your time. Thanks for the quick reply. Will ask in discussions after reading the docs in the future. |
Beta Was this translation helpful? Give feedback.
Why not ignore empty lines completely?
Please read: https://github.com/numToStr/Comment.nvim#-ignoring-lines