nvim_runtime_lua

vim.lsp.protocol.constants

@nodoc

Fields23

constants.DiagnosticSeverity: table
constants.DiagnosticTag: table
constants.MessageType: table
constants.FileChangeType: table

The file event type.

constants.CompletionItemKind: table

The kind of a completion entry.

constants.CompletionTriggerKind: table

How a completion was triggered

constants.CompletionTag: table

Completion item tags are extra annotations that tweak the rendering of a completion item

constants.DocumentHighlightKind: table

A document highlight kind.

constants.SymbolKind: table

A symbol kind.

constants.SymbolTag: table

Extra annotations that tweak the rendering of a symbol.

constants.TextDocumentSaveReason: table

Represents reasons why a text document is saved.

constants.ErrorCodes: table
constants.MarkupKind: table

Describes the content type that a client supports in various result literals like Hover, ParameterInfo or CompletionItem.

Please note that MarkupKinds must not start with a $. This kinds are reserved for internal usage.

constants.ResourceOperationKind: table
constants.FailureHandlingKind: table
constants.InitializeError: table

Known error codes for an InitializeError;

constants.TextDocumentSyncKind: table

Defines how the host (editor) should sync document changes to the language server.

constants.WatchKind: table
constants.ApplyKind: table

Defines how values from a set of defaults and an individual item will be merged.

constants.InsertTextFormat: table

Defines whether the insert text in a completion item should be interpreted as plain text or a snippet.

constants.CodeActionKind: table

A set of predefined code action kinds

constants.CodeActionTriggerKind: table

The reason why code actions were requested.

constants.InlineCompletionTriggerKind: table