File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ order of increasing priority:
162162
1631631. Configuration defined for the `' *' ` name.
1641642. Configuration from the result of merging all tables returned by
165- `lsp /<name > .lua ` files in 'runtimepath' for a server of name `name ` .
165+ `lsp /<config > .lua ` files in 'runtimepath' for the config named ` <config> ` .
1661663. Configurations defined anywhere else.
167167
168168Example: given the following configs... >lua
@@ -280,6 +280,12 @@ FAQ *lsp-faq*
280280 " (async = false is the default for format)
281281 autocmd BufWritePre *.rs lua vim.lsp.buf.format({ async = false })
282282<
283+
284+ - Q: How to avoid my own lsp/ folder being overridden?
285+ - A: Place your configs under "after/lsp/". Files in "after/lsp/" are loaded
286+ after those in "nvim/lsp/", so your settings will take precedence over
287+ the defaults provided by nvim-lspconfig. See also: | after-directory |
288+
283289 *lsp-vs-treesitter*
284290- Q: How do LSP, Treesitter and Ctags compare?
285291- A: LSP requires a client and language server. The language server uses
You can’t perform that action at this time.
0 commit comments