Our great sponsors
-
Comment.nvim
:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
Comment.nvim?
-
mini.comment
Neovim Lua plugin for fast and familiar per-line commenting. Part of 'mini.nvim' library.
It’s not really clear what you mean by ‘commenter’, but if I understand you correctly https://github.com/echasnovski/mini.comment is another great option.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
nvim-ts-context-commentstring
Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
I haven't tried mini, but judging by the README he would also have to use a plugin the likes of nvim-ts-commentstrung in a p re / post hook to get the adequate comment string in files with multiple languages.
Related posts
- How to surround a paragraph with multiple charaters/symbols?
- Commenting both erb and handlebars files
- JavaScript and CSS in HTML files
- Is it possible to configure nvim_comment to change the way it comments if I am inside a jsx/tsx block or outside a jsx/tsx block?
- Alternative to vim-textmanip plugin? (move selected blocks of text)