1
0
mirror of https://github.com/luzifer/vim.git synced 2024-09-18 18:42:55 +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
"
let g:LanguageClient_rootMarkers = {
\ 'go': ['go.mod'],
\ }
let g:LanguageClient_serverCommands = {
\ 'go': ['gopls'],
\ 'python': ['pyls'],