iswap.nvim
Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter. (by mizlan)
nvim-ts-rainbow
Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead (by p00f)
iswap.nvim | nvim-ts-rainbow | |
---|---|---|
9 | 21 | |
486 | 865 | |
- | - | |
5.6 | 8.3 | |
4 days ago | over 1 year ago | |
Lua | Lua | |
MIT License | Apache License 2.0 |
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.
iswap.nvim
Posts with mentions or reviews of iswap.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-25.
-
Sibling-swap.nvim: another way to swaps arguments, array's items and attributes
Could you elaborate on how is this different from https://github.com/mizlan/iswap.nvim?
-
Moving from IDE to VIM Cheatsheet
The "move element left/right" thing you might be interested in https://github.com/mizlan/iswap.nvim perhaps?
-
I must be missing something
iswap.nvim: Swap argument with treesitter.
-
Post-operation flashing and arbitrary node swapping!
[iswap.nvim](https://github.com/mizlan/iswap.nvim) is a plugin for swapping things around interactively in your buffer (powered by tree-sitter). Since the start I've entertained the idea of a post-operation highlight flash that confirms the operation, since otherwise it is sometimes hard to tell what you just did (to make sure you did it correctly). Also, you can arbitrarily swap sibling nodes too now, thanks to a PR by u/JoseConseco_ !
-
Swapping objects with `nvim-treesitter-textobjects`
Btw, I found the queries from https://github.com/mizlan/iswap.nvim helpful in implementing this approach. (For example I found (variable_list (_) @swappable) was not covered in your lua queries. Once again thanks, this is great fun!
-
USER FLAIRS: Apply now!
Plugin author: https://github.com/mizlan/iswap.nvim
- Bram: "Neovim has included Treesitter, which is an implementation of this. Once Vim9 is done I'll have a look at whether it is a good choice to include with Vim"
-
Custom treesitter textobjects
- https://github.com/mizlan/iswap.nvim : again uses hints for swapping treesitter nodes
-
iswap.nvim: Interactively swap function arguments, list elements, and more using tree-sitter!
iswap.nvim is a plugin that allows you to interactively swap... things! Like a lot of things: function arguments, list elements, parameters, and more! Take a look and see if it tickles your fancy!
nvim-ts-rainbow
Posts with mentions or reviews of nvim-ts-rainbow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-20.
-
TS: Level of a node based on capture group?
for the past few days I have been working on a fork to the nvim-ts-rainbow plugin: nvim-ts-rainbow2. I am pretty much done, except for one small issue: finding out the level of a node relative to other container nodes. I know how to determine the level of a node in the tree (just keep counting up from 1 while going through the parents until I hit the root), but that is not what I need.
-
nvim-ts-rainbow is archived and no longer maintained
I noticed that it was abandoned when I was about to update my PR. The PR as it is up there is a mess, so I went through a major refactor and subsequently lost everything like an idiot.
-
How to configure nvim UI to look like this?
The "look" you're looking for is given by a bunch of plugins: - OneDark.nvim as colorscheme - TS Rainbow for rainbow brackets - BarBar for bufferline - Nvim Devicons and NerdFonts to view file icons - NvimTree as a file manager - Indent Blankline to show indentation guides - CompetiTest with vertical split UI - Feline as statusline plugin. In the screenshot feline is configured with a custom theme. As you can see statusline is different for CompetiTest buffers: a different statusline can be configured for every different filetype using conditional_config.
-
Lua alternative to vim-matchup
For highlightning parentheses you could check out nvim-ts-rainbow
- Supercharge your Haskell experience in neovim
- Rainbow indent guides like vscode
-
Is there any very colorful Onedark colorscheme for Neovim? Onedark.nvim and Onedarkpro.nvim are nice, but I still feel they are a little bit colorful compared to the syntax-highlight of this Onedark I used in VSCode.
Consider using nvim-ts-rainbow to get rainbow parentheses.
-
Code highlighting sucks on Neovim.
To get changed colors for nested brackets, use nvim-ts-rainbow. I think the rest of the comments have you covered on getting colors up to snuff for you. To me it just looks like mismatched colors, not that anything is wrong
-
nvim-ts-rainbow improved highlighting of JSX
I'm happy to say I have fixed [the bug in nvim-ts-rainbow] that caused all JSX props to be highlighted](https://github.com/p00f/nvim-ts-rainbow/issues/118) in extended_mode instead of just highlighting the tag names. It was bugging me for a while when working on React components. Now, only the tag names and angle brackets in JSX elements are highlighted.
-
Lisp programming configuration for neovim
Lsp support is pretty good with Neovim, but obviously depends on what Lisp you use. I also like ts-rainbow a lot, but that's literally just visual fluff for brackets
What are some alternatives?
When comparing iswap.nvim and nvim-ts-rainbow you can also consider the following projects:
vim-treesitter
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
vim-swap - Reorder delimited items.
indent-blankline.nvim - Indent guides for Neovim
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter
rainbow - Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
hop.nvim - Neovim motions on speed!
rainbow_parentheses.vim - :rainbow: Simpler Rainbow Parentheses
nvim-treesitter-textsubjects - Location and syntax aware text objects which *do what you mean*
iceberg.vim - :antarctica: Bluish color scheme for Vim and Neovim
Vim - The official Vim repository
nvim-treesitter-refactor - Refactor module for nvim-treesitter
iswap.nvim vs vim-treesitter
nvim-ts-rainbow vs Bracket-Pair-Colorizer-2
iswap.nvim vs vim-swap
nvim-ts-rainbow vs indent-blankline.nvim
iswap.nvim vs nvim-treehopper
nvim-ts-rainbow vs rainbow
iswap.nvim vs hop.nvim
nvim-ts-rainbow vs rainbow_parentheses.vim
iswap.nvim vs nvim-treesitter-textsubjects
nvim-ts-rainbow vs iceberg.vim
iswap.nvim vs Vim
nvim-ts-rainbow vs nvim-treesitter-refactor