diff options
| author | github-actions <github-actions@github.com> | 2023-04-06 01:42:19 +0000 |
|---|---|---|
| committer | github-actions <github-actions@github.com> | 2023-04-06 01:42:19 +0000 |
| commit | e2f6d46192cd8f576734dc1a35fe151a4510bad5 (patch) | |
| tree | b22b6f7431c1e5bf4f10e07ee202a640b894c0ab | |
| parent | fix(arduino_ls): disable semantic tokens for arduino_language_server (#2533) (diff) | |
| download | nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.tar nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.tar.gz nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.tar.bz2 nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.tar.lz nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.tar.xz nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.tar.zst nvim-lspconfig-e2f6d46192cd8f576734dc1a35fe151a4510bad5.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 124 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 124 |
2 files changed, 248 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index d791ab00..fe4a5471 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -574,6 +574,130 @@ require'lspconfig'.arduino_language_server.setup{} **Default values:** + - `capabilities` : + ```lua + { + textDocument = { + callHierarchy = { + dynamicRegistration = false + }, + codeAction = { + codeActionLiteralSupport = { + codeActionKind = { + valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } + } + }, + dataSupport = true, + dynamicRegistration = false, + isPreferredSupport = true, + resolveSupport = { + properties = { "edit" } + } + }, + completion = { + completionItem = { + commitCharactersSupport = false, + deprecatedSupport = false, + documentationFormat = { "markdown", "plaintext" }, + preselectSupport = false, + snippetSupport = false + }, + completionItemKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } + }, + contextSupport = false, + dynamicRegistration = false + }, + declaration = { + linkSupport = true + }, + definition = { + linkSupport = true + }, + documentHighlight = { + dynamicRegistration = false + }, + documentSymbol = { + dynamicRegistration = false, + hierarchicalDocumentSymbolSupport = true, + symbolKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } + } + }, + hover = { + contentFormat = { "markdown", "plaintext" }, + dynamicRegistration = false + }, + implementation = { + linkSupport = true + }, + publishDiagnostics = { + relatedInformation = true, + tagSupport = { + valueSet = { 1, 2 } + } + }, + references = { + dynamicRegistration = false + }, + rename = { + dynamicRegistration = false, + prepareSupport = true + }, + semanticTokens = vim.NIL, + signatureHelp = { + dynamicRegistration = false, + signatureInformation = { + activeParameterSupport = true, + documentationFormat = { "markdown", "plaintext" }, + parameterInformation = { + labelOffsetSupport = true + } + } + }, + synchronization = { + didSave = true, + dynamicRegistration = false, + willSave = true, + willSaveWaitUntil = true + }, + typeDefinition = { + linkSupport = true + } + }, + window = { + showDocument = { + support = true + }, + showMessage = { + messageActionItem = { + additionalPropertiesSupport = false + } + }, + workDoneProgress = true + }, + workspace = { + applyEdit = true, + configuration = true, + didChangeWatchedFiles = { + dynamicRegistration = false, + relativePatternSupport = true + }, + semanticTokens = vim.NIL, + symbol = { + dynamicRegistration = false, + hierarchicalWorkspaceSymbolSupport = true, + symbolKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } + } + }, + workspaceEdit = { + resourceOperations = { "rename", "create", "delete" } + }, + workspaceFolders = true + } + } + ``` - `cmd` : ```lua { "arduino-language-server" } diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index d791ab00..fe4a5471 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -574,6 +574,130 @@ require'lspconfig'.arduino_language_server.setup{} **Default values:** + - `capabilities` : + ```lua + { + textDocument = { + callHierarchy = { + dynamicRegistration = false + }, + codeAction = { + codeActionLiteralSupport = { + codeActionKind = { + valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } + } + }, + dataSupport = true, + dynamicRegistration = false, + isPreferredSupport = true, + resolveSupport = { + properties = { "edit" } + } + }, + completion = { + completionItem = { + commitCharactersSupport = false, + deprecatedSupport = false, + documentationFormat = { "markdown", "plaintext" }, + preselectSupport = false, + snippetSupport = false + }, + completionItemKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } + }, + contextSupport = false, + dynamicRegistration = false + }, + declaration = { + linkSupport = true + }, + definition = { + linkSupport = true + }, + documentHighlight = { + dynamicRegistration = false + }, + documentSymbol = { + dynamicRegistration = false, + hierarchicalDocumentSymbolSupport = true, + symbolKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } + } + }, + hover = { + contentFormat = { "markdown", "plaintext" }, + dynamicRegistration = false + }, + implementation = { + linkSupport = true + }, + publishDiagnostics = { + relatedInformation = true, + tagSupport = { + valueSet = { 1, 2 } + } + }, + references = { + dynamicRegistration = false + }, + rename = { + dynamicRegistration = false, + prepareSupport = true + }, + semanticTokens = vim.NIL, + signatureHelp = { + dynamicRegistration = false, + signatureInformation = { + activeParameterSupport = true, + documentationFormat = { "markdown", "plaintext" }, + parameterInformation = { + labelOffsetSupport = true + } + } + }, + synchronization = { + didSave = true, + dynamicRegistration = false, + willSave = true, + willSaveWaitUntil = true + }, + typeDefinition = { + linkSupport = true + } + }, + window = { + showDocument = { + support = true + }, + showMessage = { + messageActionItem = { + additionalPropertiesSupport = false + } + }, + workDoneProgress = true + }, + workspace = { + applyEdit = true, + configuration = true, + didChangeWatchedFiles = { + dynamicRegistration = false, + relativePatternSupport = true + }, + semanticTokens = vim.NIL, + symbol = { + dynamicRegistration = false, + hierarchicalWorkspaceSymbolSupport = true, + symbolKind = { + valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } + } + }, + workspaceEdit = { + resourceOperations = { "rename", "create", "delete" } + }, + workspaceFolders = true + } + } + ``` - `cmd` : ```lua { "arduino-language-server" } |
