Our great sponsors
-
null-ls.nvim
Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
So for now, I moved to try things using efm with black. I still didn't test efm, but I can't find anything in its github repo about formatting only a part of the file.
To format only the part of the file,the lsp should support range formatting :h vim.lsp.buf.range_formatting() . Btw if you want an easy way to configure linters and formatters use null-ls.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- What is the purpose of null-ls.nvim? I've read the README but I don't really understand what it gives me over a language server like clangd or jdtls, for example
- lspconfig, efm and workspace level diagnostics
- How to setup efm-langserver for pint formatter?
- How to do syntax checking on languages that don't have an LSP server in neovim?
- Updates of gopher.nvim