Closed dhananjaylatkar closed 4 months ago
When I visually select text and press gc it comments whole line.
gc
e.g.
static int fun() {}
If I select static in above code and press gc whole line is commented, resulting in -
static
// static int fun() {}
If I select static in above code and press gc only selected part should be commented, resulting in -
/* static */ int fun() {}
"numToStr/Comment.nvim" has this behavior
No response
ts-comments.nvim is an enhancement to Neovim's native comments. Those are linewise only
ts-comments.nvim
Did you check the docs?
Is your feature request related to a problem? Please describe.
When I visually select text and press
gc
it comments whole line.e.g.
If I select
static
in above code and pressgc
whole line is commented, resulting in -Describe the solution you'd like
If I select
static
in above code and pressgc
only selected part should be commented, resulting in -Describe alternatives you've considered
"numToStr/Comment.nvim" has this behavior
Additional context
No response