With a commenstring = "// %s", this won't uncomment.
Related problem:
--- @param foo
Doesn't uncomment with commentstring = "-- %s"
Solution: allow multiple commentstrings per language, or allow a more expressive lua pattern that gets resolved to a proper commentstring based on the ref_position
Did you check the docs?
Is your feature request related to a problem? Please describe.
Add work-around for https://github.com/neovim/neovim/issues/28872
With a
commenstring = "// %s"
, this won't uncomment.Related problem:
Doesn't uncomment with
commentstring = "-- %s"
Solution: allow multiple commentstrings per language, or allow a more expressive lua pattern that gets resolved to a proper commentstring based on the
ref_position