vimrunner
splitjoin.vim
Our great sponsors
vimrunner | splitjoin.vim | |
---|---|---|
1 | 18 | |
236 | 1,870 | |
- | - | |
3.1 | 7.4 | |
9 months ago | 11 days ago | |
Ruby | 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.
vimrunner
-
Going further (neovim plugin project)
I don't have personal experience with it myself, so can't say how well it works. I use my own Vimrunner project for all my plugins (and I prefer it -- easier for me to write tests in ruby than in a custom file format), but it's also based on +clientserver so it won't work for your case. Would be happy to talk over a PR, of course :). But if you don't feel like doing work on testing tools, vroom might be a good option.
splitjoin.vim
-
How to implement a custom code modification (LSP vs TreeSitter)
My splitjoin plugin handles your examples, in case you're open to non-LSP, non-treesitter solutions: https://github.com/andrewradev/splitjoin.vim
-
feline.nvim announcements and updates
To avoid the practical issues with master/main, a simple solution is to mirror branches in a github action. I had to fork the action itself to fix an issue, but yeah, it works fine.
-
New Plugin: splitjoin.nvim 🪓🧷
Similar plugin: https://github.com/AndrewRadev/splitjoin.vim
Yes, sorry, should have done that the first time I encountered the bug. I rediscovered the bug and I opened a new issue.
-
Neovim config from scratch (Part II)
splitjoin to alternate between abbreviated and expansive syntaxes for hashes, arrays, method calls...
-
New Plugin Preview! Treesitter Node Action
This looks really nice! I've been using splitjoin.vim for a few years now, and while it works fairly well, it uses a regex approach, so it's ultimately limited in what it can do. I've been waiting for a treesitter-powered version of the same concept for some time now.
To clarify a bit, "a regex approach" doesn't mean s// :). For example, I've got a few mini-parsers for specific cases like rust structs or ruby methods and hashes that handle nesting and more complex structures. Vim's built-in search functions also allow checking the syntax tree, which is how vim-ruby implements a few basic text objects, too. I feel like there's a common misconception that all of Vim is just dumb regex-matching, while regexes are just one of the tools available.
-
Here's a question
https://github.com/AndrewRadev/splitjoin.vim I noticed I often format calling a function with a lot of parameters from
- Plugins alternative in Lua
-
Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua
Maybe https://github.com/AndrewRadev/splitjoin.vim can be of interest to you since it provides similar functionality.
What are some alternatives?
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
nvim-revJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua.
vim-startify - :link: The fancy start screen for Vim.
sideways.vim - A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
nerdcommenter - Vim plugin for intensely nerdy commenting powers [Moved to: https://github.com/preservim/nerdcommenter]
rainbow - Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
vim-rooter - Changes Vim working directory to project root.
tagbar - Vim plugin that displays tags in a window, ordered by scope
rustfmt - Format Rust code [Moved to: https://github.com/rust-lang/rustfmt]
dotfiles - Dotfiles for macOS