nvim_context_vt
Virtual text context for neovim treesitter (by andersevenrud)
nvim-ts-context-commentstring
Neovim treesitter plugin for setting the commentstring based on the cursor location in a file. (by JoosepAlviste)
nvim_context_vt | nvim-ts-context-commentstring | |
---|---|---|
3 | 26 | |
356 | 1,061 | |
- | - | |
4.8 | 6.7 | |
27 days ago | 9 days ago | |
Lua | Lua | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvim_context_vt
Posts with mentions or reviews of nvim_context_vt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-26.
- Plugin for virtual text around parantheses ?
-
Using virtual text in neovim
This one uses vt heavily too.
-
Nvim_context_vt: Add virtual text to show current context
Repo: https://github.com/haringsrob/nvim_context_vt
nvim-ts-context-commentstring
Posts with mentions or reviews of nvim-ts-context-commentstring.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
Trying to set up a dev environment for Vue.js in Astrovim
I work with Vue every day, but I don't use AstroNvim. The Volar language server with Take Over Mode works great for me. I don't know what exactly is broken for you when commenting, but my plugin nvim-ts-context-commentstring works for setting the correct commentstring in the Vue single file component sections with Treesitter.
-
Comment your code more efficiently in Neovim
Fair enough, although this helps a lot with this issue.
-
What is the best commenter for tsx, jsx and css files with lua config
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.
- How to surround a paragraph with multiple charaters/symbols?
-
Commenting both erb and handlebars files
I use https://github.com/JoosepAlviste/nvim-ts-context-commentstring with vim-commentary
-
JavaScript and CSS in HTML files
I think you could use Comment.nvim combine with nvim-ts-context-commentstring like explained in this video
-
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?
you should be able to integrate it with nvim-ts-context-commentstring as specified in the nvim-comment README
-
Svelte commenting
Are you using nvim-ts-context-commentstring?
-
Plugin suggestion
You can try using comment + context-comment, I've found it better for treesitter supported code commenting personally.
-
Context commenting not woking on ReactJs
I'm using Context Commentstring & Comment.nvim together.
What are some alternatives?
When comparing nvim_context_vt and nvim-ts-context-commentstring you can also consider the following projects:
nvim-biscuits - A neovim port of Assorted Biscuits. Ends up with more supported languages too.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer