What is the best commenter for tsx, jsx and css files with lua config

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

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