]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Tidy help file
authorAndreas Louv <andreas@louv.dk>
Wed, 12 Apr 2023 06:07:23 +0000 (08:07 +0200)
committerAndreas Louv <andreas@louv.dk>
Thu, 13 Apr 2023 05:38:15 +0000 (07:38 +0200)
doc/lsp.txt

index 291936ea1d590c907a6711a1eccad152aaf96bc3..1a7313e9ee0be0469a3ecf2b791c814360234e39 100644 (file)
@@ -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: