From 559758d2c266792d9c794823668fe1a8a5b94846 Mon Sep 17 00:00:00 2001 From: Andreas Louv Date: Sat, 11 Mar 2023 00:17:31 +0100 Subject: [PATCH] Sort and group options in more intuitive way --- doc/lsp.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/lsp.txt b/doc/lsp.txt index f25181d..030d96d 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -208,6 +208,8 @@ Shell script, Vim script and PHP file types: > < To add a language server, the following information is needed: + path complete path to the language server executable + (without any arguments). args a list of command-line arguments passed to the language server. Each argument is a separate List item. @@ -220,6 +222,9 @@ To add a language server, the following information is needed: or useful for initialization. Those can be provided in this dictionary and if present will be transmitted to the lsp server. + +Aditionally the following configurations can be made: + customNotificationHandlers (Optional) some lsp servers (e.g. typescript-language-server) will send additional @@ -229,8 +234,6 @@ To add a language server, the following information is needed: omnicompl (Optional) a boolean value that enables (true) or disables (false) omni-completion for this file types. By default this is set to 'v:true'. - path complete path to the language server executable - (without any arguments). syncInit (Optional) for language servers (e.g. rust analyzer, gopls, etc.) that take time to initialize and reply to a 'initialize' request message this should be set to @@ -273,6 +276,9 @@ autoHighlightDiags Automatically place signs on the lines with a autoPopulateDiags Automatically populate the location list with diagnostics from the language server. By default this is set to false. +diagLineHL Highlight used for diagnostic line. + By default uses `Cursor`. + Use `NONE` to disable. echoSignature In insert mode, echo the current symbol signature instead of showing it in a popup. By default this is set to false. @@ -283,9 +289,6 @@ keepFocusInReferences Focus on the location list window after noDiagHoverOnLine Suppress diagnostic hover from appearing when the mouse is over the line instead of the signature. By default this is set to true. -diagLineHL Highlight used for diagnostic line. - By default uses `Cursor`. - Use `NONE` to disable. noNewlineInCompletion Suppress adding a new line on completion selection with . By default this is set to false. -- 2.48.1