document update

neovim_0.6
ray-x 3 years ago
parent 687f78db5b
commit aa9133af7e

@ -297,7 +297,8 @@ Other than above setup, additional none default setup are used for following lsp
Please check [client setup](https://github.com/ray-x/navigator.lua/blob/26012cf9c172aa788a2e53018d94b32c5c75af75/lua/navigator/lspclient/clients.lua#L98-L234)
The plugin can work with multiple LSP, e.g sqls+gopls+efm. But there are cases you may need to disable some of the
servers. (Prevent loading multiple LSP for same source code.) e.g. I saw strange behaviours when I use pyls+pyright+pyls_ms
servers. (Prevent loading multiple LSP for same source code.) e.g. I saw strange behaviours when I use
pylsp+pyright+jedi
together. If you have multiple similar LSP installed and have trouble with the plugin, please enable only one at a time.
### Disable a lsp client loading from navigator
@ -306,7 +307,7 @@ To disable a specific LSP, set `filetypes` to {} e.g.
```lua
require'navigator'.setup({
pyls={filetype={}}
pylsd={filetype={}}
})
```
@ -315,7 +316,7 @@ Or:
```lua
require'navigator'.setup({
disable_lsp = {'pyls', 'sqlls'},
disable_lsp = {'pylsd', 'sqlls'},
})
```

Loading…
Cancel
Save