null-ls.nvim
prettier_d_slim | null-ls.nvim | |
---|---|---|
4 | 164 | |
56 | 3,554 | |
- | - | |
0.0 | 0.0 | |
10 months ago | 9 months ago | |
TypeScript | Lua | |
MIT License | GNU General Public License v3.0 or later |
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.
prettier_d_slim
-
This j/k mappings should be default (for wrap) at least in Plugins like vim-pencil
Besides remapping keys, auto-format with prettier (null-ls, ALE, etc) will wrap your code on line break. This might not be desirable for txt files, but it's transparent and fully supported by markdown. It'll also fix things like aligning your markdown tables. There's also prettierd and prettier_d_slim to keep it running as a daemon in the background, which makes the buffer reformatting really snappy.
-
Anyone know how to make prettier run faster when run on save? It takes about 2 seconds every time I write my buffer to desk for Neovim to become responsive again.
I use this https://github.com/mikew/prettier_d_slim
-
nvim lsp tsserver diagnostic slow
After migration from coc to native lsp I experienced slower formatting. However, https://github.com/mantoni/eslint_d.js/ and https://github.com/mikew/prettier_d_slim solved the issue for me.
- Buffer freezes for 3-4 seconds after every edit
null-ls.nvim
- cpp setting problem
-
Being a bash developer in the 21st century
you can use nvim then, it has shellcheck for diagnostics and formatting, like in vscode :)
here the link to the config: https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main...
-
Linting/formatting and LSP
I use a lot of different languages generally and I'm running into issues around formatting. Is there any standard way to use LSP formatting by default and otherwise fallback to specific linter/formatting programs? I believe null-ls is the normal way of dealing with this, but since it's been archived, I'd rather not rely on it.
-
How to setup efm-langserver for pint formatter?
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
- Archiving Null-Ls
- null-ls will be archived
-
Why is nobody using CoC anymore?
Because null-ls.nvim & mason.nvim together do everything I wanted CoC for
- Your favourite Neovim plugins?
-
How can I get yapf, black, and other formatters working with pylsp?
There is a good answer. I think you know lua and neovim config enough to pick things that you need. If you need a short answer, null-ls is the way.
What are some alternatives?
efm-langserver - General purpose Language Server
formatter.nvim
nvim-lspconfig - Quickstart configs for Nvim LSP
prettierd - prettier, as a daemon, for improved formatting speed.
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
defaults.nvim - A small, documented, and featureful neovim starter config [Moved to: https://github.com/nvim-lua/kickstart.nvim]
StyLua - An opinionated Lua code formatter
SkCode - SkCode = neovim + lua + vscode
nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.