mirror of
https://github.com/luzifer/vim.git
synced 2024-12-20 18:31:20 +00:00
Force location of go.mod as project root
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
b59ecf8b1a
commit
bec3b5761e
1 changed files with 4 additions and 0 deletions
4
init.vim
4
init.vim
|
@ -975,6 +975,10 @@ let g:go_metalinter_deadline = "20s"
|
||||||
" LanguageServer configuration
|
" LanguageServer configuration
|
||||||
"
|
"
|
||||||
|
|
||||||
|
let g:LanguageClient_rootMarkers = {
|
||||||
|
\ 'go': ['go.mod'],
|
||||||
|
\ }
|
||||||
|
|
||||||
let g:LanguageClient_serverCommands = {
|
let g:LanguageClient_serverCommands = {
|
||||||
\ 'go': ['gopls'],
|
\ 'go': ['gopls'],
|
||||||
\ 'python': ['pyls'],
|
\ 'python': ['pyls'],
|
||||||
|
|
Loading…
Reference in a new issue