From 62dffd8125f1be9c8fc9350b000c45638076c7cc Mon Sep 17 00:00:00 2001
From: Andreas Louv <andreas@louv.dk>
Date: Wed, 12 Apr 2023 08:07:23 +0200
Subject: [PATCH] Tidy help file

---
 doc/lsp.txt | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

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:
-- 
2.51.0