*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
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()
| create method() |
| createIfNotExists method() |
| ... |
-
-
+<
vim:tw=78:ts=8:noet:ft=help:norl: