nvim: Specify root markers for language client
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
27ecc9d20e
commit
2cff6bd574
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ let g:LanguageClient_serverCommands = {
|
|||
\ 'rust': ['/usr/bin/rustup', 'run', 'stable', 'rls'],
|
||||
\ 'python': ['/usr/bin/pyls'],
|
||||
\ }
|
||||
let g:LanguageClient_rootMarkers = ['*.cabal', 'stack.yaml', 'Cargo.toml']
|
||||
|
||||
nnoremap <Leader>lc :call LanguageClient_contextMenu()<CR>
|
||||
nnoremap <Leader>lh :call LanguageClient#textDocument_hover()<CR>
|
||||
|
|
Loading…
Reference in a new issue