vim-autoformat
Provide easy code formatting in Vim by integrating existing code formatters. (by vim-autoformat)
vim-rt-format
:sunglasses: Prettify Current Line on Enter !! (by skywind3000)
vim-autoformat | vim-rt-format | |
---|---|---|
6 | 3 | |
2,269 | 118 | |
0.5% | 0.8% | |
4.7 | 0.0 | |
3 months ago | over 3 years ago | |
Vim Script | Vim Script | |
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.
vim-autoformat
Posts with mentions or reviews of vim-autoformat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-03.
-
I'm dissatisfied with both wrap and nowrap
You can then make a vim mapping to the executable or get something like https://github.com/vim-autoformat/vim-autoformat To make setting up (multiple) formatters a little easier.
-
Code Formatter for Neovim for Common languages.
I have been using vim for much much time now. Everything is going well but every time I want to format my code I got stuck. I have tried many plugins like vim-autoformat which is not formatting correctly (not the major filetypes like JSX, TSX), vim-prettier which is very slow and I have to wait some seconds to get the file formatted correctly, coc-prettier this was my favorite but I shifted to LSP so no usage of this plugin now.
-
Formatter for C++ code ( in Neovim)
I use the vim-autoformat plugin.
-
Vim 2022: format your code in real-time !!
There are plenty of code-formatting plugins, like auto-format and neoformat, for vim. But all of them require running a certain command or using :w to trigger formating.
- Using vim as a laravel/phpstorm developer
-
Which autoformatting plugin do you recommend?
I use Chiel92/vim-autoformat it will work with most popular code formatters out of the box. I have it setup so that it autoformats on save. It's also popular and kept up to date. My config looks like:
vim-rt-format
Posts with mentions or reviews of vim-rt-format.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-10-22.
-
Can't believe I've created 20 vim plugins since 2016
vim-rt-format - 😎 Prettify Current Line on Enter !!
-
Vim 2022: format your code in real-time !!
Therefore, I created a little plugin vim-rt-format, which can format the current line immediately in INSERT mode as soon as you press ENTER:
- vim-rt-format: prettify current line in real-time when you press ENTER
What are some alternatives?
When comparing vim-autoformat and vim-rt-format you can also consider the following projects:
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
vim-text-process - Text Filter Manager for Vim/NeoVim !!
vim-razor - Vim syntax highlighting and indentation for Razor markup
vim-dict - 没办法,被逼的,重新整理一个词典补全的数据库
formatter.nvim
vim-keysound - :wine_glass: Play typewriter sound in Vim when you are typing a letter