summaryrefslogtreecommitdiff
path: root/config/essentials/nvim/lua/user/cmp/rust.lua
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-04-29 13:59:47 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-04-29 13:59:47 +0200
commit026b92cdbfafcbd7103dcc53bba4f44c6a459593 (patch)
tree4fca2902d8f502affe14abc4afc7e4902ce59a29 /config/essentials/nvim/lua/user/cmp/rust.lua
parent692bc52c20da866630fa401be6740bc38f8f8574 (diff)
Removed nvim
Diffstat (limited to 'config/essentials/nvim/lua/user/cmp/rust.lua')
-rw-r--r--config/essentials/nvim/lua/user/cmp/rust.lua173
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
- }
- }
-}