endif
if !executable(server.path)
- util.ErrMsg('Error: LSP server ' .. server.path .. ' is not found')
+ if !opt.lspOptions.ignoreMissingServer
+ util.ErrMsg('Error: LSP server ' .. server.path .. ' is not found')
+ endif
return
endif
if server.args->type() != v:t_list
noDiagHoverOnLine: true,
# Show a diagnostic message on a status line
showDiagOnStatusLine: false,
+ # Don't print message when a configured language server is missing.
+ ignoreMissingServer: false
}
# set LSP options from user provided options
By default this is set to true
showDiagOnStatusLine Show a diagnostic message on a status line.
By default this is set to false
+ignoreMissingServer Do not print a missing language server executable.
+ By default this is set to false
For example, to disable the automatic placement of signs for the LSP
diagnostic messages, you can add the following line to your .vimrc file: