fix(lsp): disable php formatting workaround

This commit is contained in:
2024-02-26 18:45:53 +01:00
parent c785fe4e8c
commit 936cfc9096
16 changed files with 199 additions and 194 deletions
+10 -4
View File
@@ -63,7 +63,11 @@ when needed.
### Language servers
Language servers are installed automatically to the nvim data directory
(`:echo stdpath('data') .. '/mason'`). The following are some noted requirements
(`:echo stdpath('data') .. '/mason'`) upon entering a buffer of related
filetype. Automatic installation can be turned off, see the end of this section
for instructions.
The following are some noted requirements
for the installations themselves:
- **diagnostic-languageserver**: npm
@@ -78,9 +82,11 @@ Some servers have additional runtime dependencies:
- **bash-language-server**: shellcheck (optional, used for linting)
If you don't need some specific language server, and want to get rid of any
warning messages, you may either remove them from the top of `lua/lsp.lua`
or disable them in `lua/lsp/<server>.lua`.
If you don't need some specific language server, you may either remove them from
the top of `lua/lsp.lua` or disable them in `lua/lsp/<server>.lua`.
To disable automatic installation of a selected language server, remove or
comment out the mason part of the configuration at `lua/lsp/<server>.lua`.
### Nerd Font
It's recommended to use a [Nerd Font](https://www.nerdfonts.com/),