vim-prettier
A Vim plugin for Prettier (by prettier)
dotvim
My ~/.vim (by mgedmin)
vim-prettier | dotvim | |
---|---|---|
8 | 11 | |
1,758 | 14 | |
0.1% | - | |
6.8 | 6.1 | |
3 months ago | 29 days ago | |
Vim Script | Vim Script | |
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-prettier
Posts with mentions or reviews of vim-prettier.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-16.
-
Working remotely using SSH
and prettier https://github.com/prettier/vim-prettier
-
How to compile vim with python 3.7+
You can still use vimscript plugins in the same way in neovim as you do in vim. In particular there's a specific plugin: https://github.com/prettier/vim-prettier
-
Halp: Prettier not working on lua files
Prettier (https://github.com/prettier/vim-prettier) seems to work fine on html and javascript files. But when I run :PrettierCli on a lua file it says No parser and no file path given, couldn't infer a parser. I have treesitter installed. I used treesitter's ":TSInstall: lua" and :checkhealth shows a lua parser installed. Not sure what I'm missing or what to do to troubleshoot from here,
-
How to run a command(formatter) when I exit insert mode using ESC?
Have you looked through the configs for vim-prettier? Maybe exec_cmd_async
-
JetBrains’ Statement on Ukraine
auto-formatting - prettier
-
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.
-
Format Code The Vim Way
Personally I like to use plugins (prettier/vim-prettier / fatih/vim-go) for added simplicity and less manual configuring (less filetype based configuring etc.).
-
[pt-BR] NeoVim para Typescript
Vale considerar também o Prettier:
dotvim
Posts with mentions or reviews of dotvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-10.
-
Find input tied to key combinations
I have a whole file full of mappings like this that let Vim recognize various special key combinations from any terminal emulator I've used in the last 20 years. It's a mess: https://github.com/mgedmin/dotvim/blob/master/plugin/keyboard-workarounds.vim
-
Whats Your VIMRC Setup For 2023?
https://github.com/mgedmin/dotvim, accumulated over many years.
-
Show me your well organized vim config.
So, three out of four? https://github.com/mgedmin/dotvim
-
Help with jumping to file location when opening a diff file in Vim
Assuming I understood your desire correctly? I have a function to jump to the original (or patched) file when I press Enter on a line of diff: https://github.com/mgedmin/dotvim/blob/master/ftplugin/diff.vim
-
Python Folding
I use a custom foldexpr. I've been using it for many years, and polished it to do the right thing on all the codebases I've used it on.
-
Working remotely using SSH
My ~/.vim/ is a Git repository and I make it support older versions of Vim by checking for the existence of features before using them, because I couldn't stand my .vimrc emitting any errors on Vim startup. If you're interested, it's here: https://github.com/mgedmin/dotvim/
-
Would it be a mistake to unset timeout?
The primary reason why I need timeout/ttimeout is to have a working Escape key, when you also want to have custom bindings for various key combinations (e.g. ctrl+shift+arrows) that aren't natively recognized for your terminal for some reason, and thus you end up creating compatibility mappings for them.
-
What is the simplest Python autocomplete, snippets, and such on Vim now?
My ~/.vim is here, if you're curious about the details: https://github.com/mgedmin/dotvim/
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
I'm perfectly happy with ~/.vim in a separate git repository (mine), with all the plugins installed via vim-plug.
-
What are some of the unique functions you use in your .vimrc?
My vimrc is, uhh, big, but I've tried to keep it commented.
What are some alternatives?
When comparing vim-prettier and dotvim you can also consider the following projects:
coc-prettier - Prettier extension for coc.nvim.
Dotfiles - My manjaro dotfiles
nvim-config - my nvim config
dotfiles - These are my dotfiles. There are many like them, but these ones are mine.
vim-autoformat - Provide easy code formatting in Vim by integrating existing code formatters.
dotfiles - My personal Linux shell settings
plugin-ruby - Prettier Ruby Plugin
scripting_course - :notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.
vim-plug - :hibiscus: Minimalist Vim Plugin Manager
dotfiles - My personal configuration files.
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
dotfiles