nvim-ts-context-commentstring
indentLine
nvim-ts-context-commentstring | indentLine | |
---|---|---|
26 | 22 | |
1,056 | 4,102 | |
- | - | |
6.7 | 0.0 | |
14 days ago | 10 months ago | |
Lua | Vim Script | |
MIT License | 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.
indentLine
-
What is the alternative to indentLine in Emacs?
Before my emacs days, I used nvim with this package called indentLine. Basically it displays (maybe semi-transparent?) vertical lines for same indentation levels . It's visually helpful when I'm in python code.
- Is there a way to get these vertical code boundaries (vertical lines showing blocks of code) like in vscode ?
-
Vim 9 listchars: leadmultispace, etc.
If I understood your question and you don't mind adding a plugin, Yggdroot/indentLine might be what you're looking for.
-
What plugin do ya'll recommend for indent lines?
I saw this on github: https://github.com/Yggdroot/indentLine but it's last bug fix was 2 years ago with 71 open issues.
-
Neovim is the most loved editor (again)
(For example, in vim, I use https://github.com/Yggdroot/indentLine, but in nvim, I use https://github.com/lukas-reineke/indent-blankline.nvim.)
- What's the name of the plugin that shows inner and outer block markings in this screenshot?
-
Is there a way to get Vim to highlight the area between braces and brackets like this? like with pipe symbols or something like that .
If you use tabs for indentation check out :h 'list' and :h 'listchars'. If you use spaces there is the indentline plugin (or indent-blankline if you're using neovim).
-
Vim: Enhancing Editing Speed
If your file is saved as a particular language that supports indentation, it will automatically indent lines for you but it cannot be reliable. So, we need to IndentLine, and others as well.
-
Your dev environment
Plug 'https://github.com/fatih/vim-go.git' Plug 'https://github.com/tpope/vim-vinegar.git' Plug 'https://github.com/ycm-core/YouCompleteMe' Plug 'https://github.com/tpope/vim-eunuch' Plug 'https://github.com/rust-lang/rust.vim' Plug 'https://github.com/vim-airline/vim-airline' Plug 'https://github.com/vim-airline/vim-airline-themes' Plug 'sainnhe/sonokai' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'https://github.com/Yggdroot/indentLine' Plug 'https://github.com/tpope/vim-fugitive' Plug 'yuki-yano/fzf-preview.vim', { 'branch': 'release/rpc' }
-
html container lines
https://github.com/Yggdroot/indentLine works with Vim 8, I use it (occasionally).
What are some alternatives?
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
indent-blankline.nvim - Indent guides for Neovim
Comment.nvim - :brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
synthwave.vim - Fsociety's synthwave theme
tcomment_vim - An extensible & universal comment vim-plugin that also handles embedded filetypes
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.
vim-endwise - endwise.vim: Wisely add
neovim - Vim-fork focused on extensibility and usability
indent-guides.nvim
kommentary - Neovim commenting plugin, written in lua.
vim-eunuch - eunuch.vim: Helpers for UNIX