1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-12-20 10:21:19 +00:00

Force location of go.mod as project root

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-06-25 14:07:49 +02:00
parent b59ecf8b1a
commit bec3b5761e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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'],