Comment.nvim icon indicating copy to clipboard operation
Comment.nvim copied to clipboard

:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more

Results 115 Comment.nvim issues
Sort by recently updated
recently updated
newest added

I was thinking if it makes sense to remove the current block comment with `gbc`. What I mean: ``` let name = /* som|ething */ else -> (gbc) -> let...

feature

Just from reading the readme it sounds like this _might_ be possible using the `pre_hook`, but I'm not sure exactly how I'd go about it. I have copied the text...

help wanted
feature

If you are using these old APIs, which I highly doubt that by now, then you should have a look at #183. This PR also includes some time doc updates....

## Description Hi, forgive me if this is just me expecting the wrong thing, but in this rust file: ```rust fn f() {} ``` If I select the line with...

bug

Plugin version: https://github.com/numToStr/Comment.nvim/commit/728f38ef5b9d77f310fc9d56f87582c24111f793 Using following config: ```lua require('Comment').setup { mappings = { extended = true } } ``` Given some file `foo.c`: ``` abc ``` With the cursor on the...

Here is my config (using lazy): ```lua return { "numToStr/Comment.nvim", keys = { { "", function() require("Comment.api").toggle.linewise.current() require("rizhiy.keys").press("j", "n") end, desc = "Comment line", }, { "", function() require("Comment.api").toggle.linewise(vim.fn.visualmode()) end,...

While editing [a html file](https://github.com/yochem/yochem.github.io/blob/main/layouts/_default/baseof.html) I noticed that `gcc` inserts `//` as commentstring (independent of cursor location), even though `:echo &commentstring` prints ``. I also have treesitter installed. Any idea...

Add support for filetype `gdshader`, which is the shader programming language of [Godot game engine](https://github.com/godotengine/godot). Comment rules are explained [here](https://docs.godotengine.org/en/stable/tutorials/shaders/shaders_style_guide.html#comment-spacing).