Giter Site home page Giter Site logo

Comments (3)

m-gail avatar m-gail commented on June 2, 2024 1

For me using https://github.com/JoosepAlviste/nvim-ts-context-commentstring as described here: https://github.com/numToStr/Comment.nvim#-treesitter works better, though not perfectly. TypeScript and JavaScript, CSS and SCSS are correctly commented.
The only things I noticed are, that end tags are commented as if they were part of the language inside of the tag and that using block comments when the cursor is on the first line of a different language or the visual selection contains the first line of a different language doesn't work. With line comments, it does work though.

from comment.nvim.

abhiyandhakal avatar abhiyandhakal commented on June 2, 2024

thanks! will give it a try

from comment.nvim.

abhiyandhakal avatar abhiyandhakal commented on June 2, 2024

Thanks, It totally works for my needs. It was my fault for not reading the documentation properly.

from comment.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.