nvim-ts-context-commentstring
vim-endwise
nvim-ts-context-commentstring | vim-endwise | |
---|---|---|
26 | 8 | |
1,056 | 1,092 | |
- | - | |
6.7 | 4.3 | |
14 days ago | 4 months ago | |
Lua | Vim Script | |
MIT License | - |
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-ts-context-commentstring
-
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.
vim-endwise
-
What are your must-have vim/nvim extensions?
tpope/vim-endwise - Closes blocks like do-end etc.
-
Anyway to configure coc-elixir to suggest `do` for autocomplete at the end of `def`?
Might be conflicting with coc, check this https://github.com/tpope/vim-endwise/issues/125
-
My Annotated Vim CoC Config
As you can see, I've commented it out. That is because as great as it is, it comes at an expense. First, it was often auto-completing words unexpectedly when what I was trying to do was create a new line. For instance, in Ruby files, I'd type do for a block and then hit enter to go the first line of the block's body. Instead, it would auto-complete do to does. Second, this overriding of the enter key was clashing with vim-endwise which I depend on for Ruby development.
-
[Tressitter query] Can I specify vim-polyglot indentation and have Treesitter only for highlights?
Note, Tim Pope's endwise is also broken with Treesitter for similar reasons as noted here
-
Neovim 0.5 + LSP + Treesitter + compe + indent-blankline + gitsigns = magnificent
What I really want is a nvim-ts-closeblock plugin that replicates Tim Pope's endwise plugin for Ruby when Treesitter is in effect.
-
What neovim plugins do you wish existed?
I wish there were lua based version of https://github.com/tpope/vim-endwise.The plugin itself works great but if we add some kind of completion plugin, then things get dirty.There is a lot of issues like...
-
[Noob] settings/plugin to expand braces upon hitting enter?
https://github.com/tpope/vim-endwise is a good plugin since it knows how to do this properly for several languages.
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
Comment.nvim - :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
vim-closer - Closes brackets
tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes
languagetool - Style and Grammar Checker for 25+ Languages
vim-context-commentstring - Vim plugin that sets the value of ‘commentstring’ to a different value depending on the region of the file you are in.
indentLine - A vim plugin to display the indention levels with thin vertical lines
neovim - Vim-fork focused on extensibility and usability
kommentary - Neovim commenting plugin, written in lua.
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript