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?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • 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

    you may want to try Comment.nvim or some other plugin if you want block comments.

  • nvim-ts-context-commentstring

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

    you should be able to integrate it with nvim-ts-context-commentstring as specified in the nvim-comment README

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • nvim-comment

    A comment toggler for Neovim, written in Lua

    this is intended behavior by nvim-comment

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