-
null-ls.nvim
Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
I'm setting up null-ls.nvim, primarily for formatting. A lot of language servers already have formatting built in, for instance tsserver, but I want to use prettier because that's what we use at work. How does Neovim deal with multiple LSP clients when I call vim.lsp.buf.format()? Now it just formats, but I'm not sure if its from tsserver or from prettier.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
You can just copy/paste the relevant parts from here https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/plugins/lsp/format.lua
-
-
I've had really good experience with formatter-nvim.