diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-04-29 20:59:11 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-04-29 20:59:11 +0200 |
commit | 236f6bff4d262e96cd6e07b0ba46908a457860d6 (patch) | |
tree | 82f26add03abb644fa975b1a39a93d673fe1fc9e /config/essentials/nvim/lua/user/cmp/rust.lua | |
parent | 179582b4187f5cc9ab784d8ec20b42db4bf12281 (diff) | |
parent | cb06bb626545a35f56f55f2abe3942262f5ca824 (diff) |
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config/essentials/nvim/lua/user/cmp/rust.lua')
-rw-r--r-- | config/essentials/nvim/lua/user/cmp/rust.lua | 173 |
1 files changed, 0 insertions, 173 deletions
diff --git a/config/essentials/nvim/lua/user/cmp/rust.lua b/config/essentials/nvim/lua/user/cmp/rust.lua deleted file mode 100644 index 46a97eb..0000000 --- a/config/essentials/nvim/lua/user/cmp/rust.lua +++ /dev/null @@ -1,173 +0,0 @@ -require'lspconfig'.rust_analyzer.setup{ - settings = { - ['rust-analyzer'] = { - diagnostics = { - enable = false; - } - } - }, - capabilities = - { - experimental = { - serverStatusNotification = true - }, - general = { - positionEncodings = { "utf-16" } - }, - textDocument = { - callHierarchy = { - dynamicRegistration = false - }, - codeAction = { - codeActionLiteralSupport = { - codeActionKind = { - valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } - } - }, - dataSupport = true, - dynamicRegistration = true, - 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 = { - dynamicRegistration = true, - linkSupport = true - }, - diagnostic = { - dynamicRegistration = false - }, - 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 } - } - }, - formatting = { - dynamicRegistration = true - }, - hover = { - contentFormat = { "markdown", "plaintext" }, - dynamicRegistration = true - }, - implementation = { - linkSupport = true - }, - inlayHint = { - dynamicRegistration = true, - resolveSupport = { - properties = {} - } - }, - publishDiagnostics = { - dataSupport = true, - relatedInformation = true, - tagSupport = { - valueSet = { 1, 2 } - } - }, - rangeFormatting = { - dynamicRegistration = true - }, - references = { - dynamicRegistration = false - }, - rename = { - dynamicRegistration = true, - prepareSupport = true - }, - semanticTokens = { - augmentsSyntaxTokens = true, - dynamicRegistration = false, - formats = { "relative" }, - multilineTokenSupport = false, - overlappingTokenSupport = true, - requests = { - full = { - delta = true - }, - range = false - }, - serverCancelSupport = false, - tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, - tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" } - }, - 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 = true, - relativePatternSupport = true - }, - inlayHint = { - refreshSupport = true - }, - semanticTokens = { - refreshSupport = true - }, - symbol = { - dynamicRegistration = false, - 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 - } - } -} |