nerdcommenter seems to better figure out what comment syntax to use than vim-commentary, but i like vim-commentary more at everything else

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nvim-ts-context-commentstring

    Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.

  • You're probably looking for some thing like JoosepAlviste/nvim-ts-context-commentstring

  • kommentary

    Neovim commenting plugin, written in lua.

  • I've been using b3nj5m1n/kommentary . I's uses are similar to vim-comentary . It has option to use only single line comments . This can be used to avoid /* ... */ . You can try that out .

  • 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.

    WorkOS logo
  • tcomment_vim

    An extensible & universal comment vim-plugin that also handles embedded filetypes

  • That said, I switched to tcomment years ago because it better detected single va multi-line comments for me.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts