forked from Archives/navigator.lua
document update
This commit is contained in:
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)
|
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
|
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.
|
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
|
### Disable a lsp client loading from navigator
|
||||||
@ -306,7 +307,7 @@ To disable a specific LSP, set `filetypes` to {} e.g.
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
require'navigator'.setup({
|
require'navigator'.setup({
|
||||||
pyls={filetype={}}
|
pylsd={filetype={}}
|
||||||
})
|
})
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -315,7 +316,7 @@ Or:
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
require'navigator'.setup({
|
require'navigator'.setup({
|
||||||
disable_lsp = {'pyls', 'sqlls'},
|
disable_lsp = {'pylsd', 'sqlls'},
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user