doc/lsp.txt | 14 +++++--------- diff --git a/doc/lsp.txt b/doc/lsp.txt index 291936ea1d590c907a6711a1eccad152aaf96bc3..1a7313e9ee0be0469a3ecf2b791c814360234e39 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -238,7 +238,7 @@ item. *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 @@ Event | E 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 @@ file.cre | create method() | | createIfNotExists method() | | ... | - - +< vim:tw=78:ts=8:noet:ft=help:norl: