From: Andreas Louv Date: Wed, 12 Apr 2023 06:07:23 +0000 (+0200) Subject: Tidy help file X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=62dffd8125f1be9c8fc9350b000c45638076c7cc;p=vim-lsp.git Tidy help file --- diff --git a/doc/lsp.txt b/doc/lsp.txt index 291936e..1a7313e 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -238,7 +238,7 @@ To add a language server, the following information is needed: *lsp-cfg-filetype* filetype One or more file types supported by the language server. This can be a |String| or a |List|. To specify - multiple multiple file types, use a List. + multiple file types, use a List. *lsp-cfg-initializationOptions* initializationOptions (Optional) for lsp servers (e.g. intelephense) some @@ -1279,21 +1279,18 @@ option |lsp-opt-completionKinds| . There is a table with all default LSP kinds: Operator | o TypeParameter | T -For example, if you want to change the "Method" kind to the kind "method()": +For example, if you want to change the "Method" kind to the kind "method()": > -> vim9script - LspOptionsSet({ + g:LspOptionsSet({ customCompletionKinds: true, completionKinds: { "Method": "method()" } }) < - -In the completion popup, will show something like this: -> +In the completion popup, will show something like this: > var file = new File() @@ -1301,6 +1298,5 @@ In the completion popup, will show something like this: | create method() | | createIfNotExists method() | | ... | - - +< vim:tw=78:ts=8:noet:ft=help:norl: