1 Star 0 Fork 0

沢原浩輔/rc-nvim-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
coc-settings.json 34.36 KB
一键复制 编辑 原始数据 按行查看 历史
Rick Wei Hsiao 提交于 2020-09-08 13:51 . Update @ Sept.8.2020
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072
{
"$schema": "http://json-schema.org/draft-06/schema",
"description": "Configuration file for coc.nvim",
"additionalProperties": false,
"definitions": {
"languageServerBase": {
"type": "object",
"properties": {
"enable": {
"type": "boolean",
"default": true
},
"cwd": {
"type": "string",
"default": "",
"description": "Working directory of languageserver, absolute path or relative to workspace folder, use workspace root by default"
},
"disableDynamicRegister": {
"type": "boolean",
"default": false,
"description": "Disable dynamic registerCapability feature for this languageserver to avoid duplicated feature regstration."
},
"disableWorkspaceFolders": {
"type": "boolean",
"default": false,
"description": "Disable workspaceFolders feature for this languageserver."
},
"disableSnippetCompletion": {
"type": "boolean",
"default": false,
"description": "Disable completion snippet feature for this languageserver, the languageserver may not respect it."
},
"disableDiagnostics": {
"type": "boolean",
"default": false,
"description": "Disable handle diagnostics for this languageserver."
},
"disableCompletion": {
"type": "boolean",
"default": false,
"description": "Disable completion feature for this languageserver."
},
"formatterPriority": {
"type": "number",
"default": 0,
"description": "Priority of this languageserver's fomatter."
},
"env": {
"type": "object",
"default": null,
"description": "Environment variables for child process."
},
"stdioEncoding": {
"type": "string",
"default": "utf8",
"description": "Encoding used for stdio of child process."
},
"rootPatterns": {
"type": "array",
"default": [],
"description": "Root patterns used to resolve rootPath from current file, default to workspace root",
"items": {
"type": "string"
}
},
"requireRootPattern": {
"type": "boolean",
"default": false,
"description": "If true, doesn't start server when root pattern not found."
},
"ignoredRootPaths": {
"type": "array",
"default": [],
"description": "Absolute root paths that language server should not use as rootPath, higher priority than rootPatterns.",
"items": {
"type": "string"
}
},
"filetypes": {
"type": "array",
"default": [],
"description": "Supported filetypes, add * in array for all filetypes.",
"items": {
"type": "string"
}
},
"additionalSchemes": {
"type": "array",
"default": [],
"description": "Additional uri schemes, default schemes including file & untitled.",
"items": {
"type": "string"
}
},
"revealOutputChannelOn": {
"type": "string",
"default": "never",
"description": "Configure message level to show the output channel buffer",
"enum": ["info", "warn", "error", "never"]
},
"progressOnInitialization": {
"type": "boolean",
"default": true,
"description": "Enable progress report on languageserver initialize."
},
"initializationOptions": {
"type": "object",
"default": {},
"description": "initializationOptions passed to languageserver"
},
"settings": {
"type": "object",
"default": {},
"description": "Settings of languageserver"
},
"trace.server": {
"type": "string",
"default": "off",
"enum": ["off", "messages", "verbose"],
"description": "Trace level of communication between server and client"
}
}
},
"languageServerSocket": {
"type": "object",
"allOf": [{ "$ref": "#/definitions/languageServerBase" }],
"required": ["port", "filetypes"],
"additionalProperties": false,
"properties": {
"port": {
"type": "integer",
"description": "Port number of socket server"
},
"host": {
"type": "string",
"default": "127.0.0.1",
"description": "Host of server"
},
"disableWorkspaceFolders": {},
"disableSnippetCompletion": {},
"disableDynamicRegister": {},
"disableDiagnostics": {},
"disableCompletion": {},
"formatterPriority": {},
"enable": {},
"rootPatterns": {},
"requireRootPattern": {},
"ignoredRootPaths": {},
"filetypes": {},
"additionalSchemes": {},
"revealOutputChannelOn": {},
"progressOnInitialization": {},
"initializationOptions": {},
"settings": {},
"stdioEncoding": {},
"trace.server": {}
}
},
"languageServerModule": {
"type": "object",
"allOf": [{ "$ref": "#/definitions/languageServerBase" }],
"required": ["module", "filetypes"],
"additionalProperties": false,
"properties": {
"module": {
"type": "string",
"default": "",
"description": "Absolute path of javascript file, should works in IPC mode"
},
"args": {
"type": "array",
"default": [],
"description": "Extra arguments of module",
"items": {
"type": "string"
}
},
"runtime": {
"type": "string",
"default": "",
"description": "Absolute path of node runtime."
},
"execArgv": {
"type": "array",
"default": [],
"description": "Argv passed to node when using module, normally used for debugging, ex: [\"--nolazy\", \"--inspect-brk=6045\"]",
"items": {
"type": "string"
}
},
"transport": {
"type": "string",
"default": "ipc",
"description": "Transport kind used by server, could be 'ipc', 'stdio', 'socket' and 'pipe'",
"enum": ["ipc", "stdio", "socket", "pipe"]
},
"transportPort": {
"type": "integer",
"description": "Port number used when transport is 'socket'"
},
"cwd": {},
"env": {},
"enable": {},
"disableDynamicRegister": {},
"disableWorkspaceFolders": {},
"disableSnippetCompletion": {},
"disableDiagnostics": {},
"disableCompletion": {},
"formatterPriority": {},
"rootPatterns": {},
"requireRootPattern": {},
"ignoredRootPaths": {},
"filetypes": {},
"additionalSchemes": {},
"revealOutputChannelOn": {},
"progressOnInitialization": {},
"initializationOptions": {},
"stdioEncoding": {},
"settings": {},
"trace.server": {}
}
},
"languageServerCommand": {
"type": "object",
"required": ["command", "filetypes"],
"allOf": [{ "$ref": "#/definitions/languageServerBase" }],
"additionalProperties": false,
"properties": {
"command": {
"type": "string",
"default": "",
"description": "Executable in $PATH to start languageserver, should not used with module"
},
"args": {
"type": "array",
"default": [],
"description": "Arguments of command",
"items": {
"type": "string"
}
},
"detached": {
"type": "boolean",
"default": false,
"description": "Detach the languageserver process"
},
"shell": {
"type": "boolean",
"default": false,
"description": "Use shell for process"
},
"cwd": {},
"env": {},
"enable": {},
"disableDynamicRegister": {},
"disableWorkspaceFolders": {},
"disableSnippetCompletion": {},
"disableDiagnostics": {},
"disableCompletion": {},
"formatterPriority": {},
"rootPatterns": {},
"requireRootPattern": {},
"ignoredRootPaths": {},
"filetypes": {},
"additionalSchemes": {},
"revealOutputChannelOn": {},
"progressOnInitialization": {},
"initializationOptions": {},
"stdioEncoding": {},
"settings": {},
"trace.server": {}
}
}
},
"properties": {
"http.proxy": {
"type": "string",
"default": "",
"description": "http proxy uri, used for extensions that send request. Format: proxy-server:1234 or user:password@prox-server:1234 with auth support"
},
"http.proxyStrictSSL": {
"type": "boolean",
"description": "Controls whether the proxy server certificate should be verified against the list of supplied CAs",
"default": true
},
"npm.binPath": {
"type": "string",
"default": "npm",
"description": "Command or absolute path to npm or yarn."
},
"suggest.enablePreselect": {
"type": "boolean",
"description": "Enable preselect feature of LSP, only works on neovim",
"default": false
},
"suggest.maxPreviewWidth": {
"type": "number",
"default": 80,
"description": "Maximum width of floating preview window."
},
"suggest.enablePreview": {
"type": "boolean",
"description": "Add preview option to completeopt, default: false.",
"default": false
},
"suggest.floatEnable": {
"type": "boolean",
"description": "Enable floating window for documentation when possible.",
"default": true
},
"suggest.labelMaxLength": {
"type": "number",
"description": "Max length of abbr that shown as label of complete item.",
"default": 200
},
"suggest.detailMaxLength": {
"type": "number",
"description": "Max length of detail that should be shown in popup menu.",
"default": 100
},
"suggest.detailField": {
"type": "string",
"default": "menu",
"description": "Where to add the detail in complete item when it's less than max length.",
"enum": ["abbr", "menu", "preview"]
},
"suggest.autoTrigger": {
"type": "string",
"default": "always",
"description": "How should completion be triggered",
"enum": ["always", "trigger", "none"]
},
"suggest.languageSourcePriority": {
"type": "number",
"default": 99,
"description": "Priority of language sources."
},
"suggest.numberSelect": {
"type": "boolean",
"description": "Input number to select complete item, works on neovim >= 0.4.3 only.",
"default": false
},
"suggest.disableKind": {
"type": "boolean",
"description": "Remove kind field from vim complete item.",
"default": false
},
"suggest.disableMenu": {
"type": "boolean",
"description": "Remove menu field from vim complete item.",
"default": false
},
"suggest.disableMenuShortcut": {
"type": "boolean",
"description": "Disable shortcut of completion source in menu.",
"default": false
},
"suggest.snippetIndicator": {
"type": "string",
"default": "~",
"description": "The character used in abbr of complete item to indicate the item could be expand as snippet."
},
"suggest.maxCompleteItemCount": {
"type": "number",
"default": 50,
"description": "Maximum number of complete items shown in vim"
},
"suggest.preferCompleteThanJumpPlaceholder": {
"type": "boolean",
"description": "Confirm completion instead of jump to next placeholder when completion is activated.",
"default": false
},
"suggest.fixInsertedWord": {
"type": "boolean",
"description": "Make inserted word replace word characters after cursor position.",
"default": true
},
"suggest.localityBonus": {
"type": "boolean",
"description": "Boost suggestions that appear closer to the cursor position.",
"default": true
},
"suggest.triggerAfterInsertEnter": {
"type": "boolean",
"description": "Trigger completion after InsertEnter, auto trigger should be 'always' to enable this option",
"default": false
},
"suggest.timeout": {
"type": "integer",
"default": 5000,
"minimum": 500,
"maximum": 15000,
"description": "Timeout for completion, in miliseconds."
},
"suggest.minTriggerInputLength": {
"type": "number",
"default": 1,
"description": "Mininal input length for trigger completion, default 1"
},
"suggest.triggerCompletionWait": {
"type": "integer",
"default": 50,
"minimum": 30,
"maximum": 500,
"description": "Wait time between text change and completion start, cancel completion when text changed during wait."
},
"suggest.echodocSupport": {
"type": "boolean",
"default": false,
"description": "When enabled, add function signature to user_data.signature to support echodoc.vim"
},
"suggest.acceptSuggestionOnCommitCharacter": {
"type": "boolean",
"default": false,
"description": "Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character. Requires CompleteChanged event to work."
},
"suggest.noselect": {
"type": "boolean",
"description": "Not make vim select first item on completion start",
"default": true
},
"suggest.keepCompleteopt": {
"type": "boolean",
"description": "When enabled, completeopt is not overriden, auto completion will be disabled if completeopt doesn't have noinsert and noselect.",
"default": false
},
"suggest.lowPrioritySourceLimit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Max items count for source priority lower than 90."
},
"suggest.highPrioritySourceLimit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Max items count for source priority bigger than or equal to 90."
},
"suggest.removeDuplicateItems": {
"type": "boolean",
"description": "Remove completion items with duplicated word for all sources, snippet items are excluded.",
"default": false
},
"suggest.defaultSortMethod": {
"type": "string",
"description": "Default sorting behavior for suggested completion items.",
"default": "length",
"enum": ["length", "alphabetical"]
},
"suggest.completionItemKindLabels": {
"type": "object",
"default": {},
"description": "Set custom labels to completion items' kinds.",
"properties": {
"text": { "type": "string" },
"method": { "type": "string" },
"function": { "type": "string" },
"constructor": { "type": "string" },
"field": { "type": "string" },
"variable": { "type": "string" },
"class": { "type": "string" },
"interface": { "type": "string" },
"module": { "type": "string" },
"property": { "type": "string" },
"unit": { "type": "string" },
"value": { "type": "string" },
"enum": { "type": "string" },
"keyword": { "type": "string" },
"snippet": { "type": "string" },
"color": { "type": "string" },
"file": { "type": "string" },
"reference": { "type": "string" },
"folder": { "type": "string" },
"enumMember": { "type": "string" },
"constant": { "type": "string" },
"struct": { "type": "string" },
"event": { "type": "string" },
"operator": { "type": "string" },
"typeParameter": { "type": "string" },
"default": { "type": "string" }
},
"additionalProperties": false
},
"suggest.invalidInsertCharacters": {
"type": "array",
"items": {
"type": "string"
},
"description": "Invalid character for strip valid word when inserting text of complete item.",
"default": [" ", "(", "<", "{", "[", "\r", "\n"]
},
"suggest.asciiCharactersOnly": {
"type": "boolean",
"description": "Suggest ASCII characters only",
"default": false
},
"diagnostic.enable": {
"type": "boolean",
"description": "Set to false to disable diagnostic display",
"default": true
},
"diagnostic.level": {
"type": "string",
"description": "Used for filter diagnostics by diagnostic severity.",
"default": "hint",
"enum": ["hint", "information", "warning", "error"]
},
"diagnostic.checkCurrentLine": {
"type": "boolean",
"description": "When enabled, show all diagnostics of current line if there are none at the current position.",
"default": false
},
"diagnostic.messageTarget": {
"type": "string",
"description": "Diagnostic message target.",
"default": "float",
"enum": ["echo", "float"]
},
"diagnostic.messageDelay": {
"type": "number",
"description": "How long to wait (in milliseconds) before displaying the diagnostic message with echo or float",
"default": 200
},
"diagnostic.refreshOnInsertMode": {
"type": "boolean",
"description": "Enable diagnostic refresh on insert mode, default false.",
"default": false
},
"diagnostic.refreshAfterSave": {
"type": "boolean",
"description": "Only refresh diagnostics after save, default false.",
"default": false
},
"diagnostic.displayByAle": {
"type": "boolean",
"description": "Use Ale for display diagnostics in vim, will disable coc for display diagnostics, restart required on change.",
"default": false
},
"diagnostic.virtualText": {
"type": "boolean",
"description": "Use NeoVim virtual text to display diagnostics",
"default": false
},
"diagnostic.virtualTextCurrentLineOnly": {
"type": "boolean",
"description": "Only show virtualText diagnostic on current cursor line",
"default": true
},
"diagnostic.virtualTextPrefix": {
"type": "string",
"description": "The prefix added virtual text diagnostics",
"default": " "
},
"diagnostic.virtualTextLines": {
"type": "number",
"description": "The number of non empty lines from a diagnostic to display",
"default": 3
},
"diagnostic.virtualTextLineSeparator": {
"type": "string",
"description": "The text that will mark a line end from the diagnostic message",
"default": " \\ "
},
"diagnostic.enableSign": {
"type": "boolean",
"default": true,
"description": "Enable signs for diagnostics."
},
"diagnostic.enableHighlightLineNumber": {
"type": "boolean",
"default": true,
"description": "Enable highlighting line numbers for diagnostics, only works with neovim and diagnostic.enableSign is true."
},
"diagnostic.enableMessage": {
"type": "string",
"default": "always",
"description": "When to enable show messages of diagnostics.",
"enum": ["always", "jump", "never"]
},
"diagnostic.highlightOffset": {
"type": "number",
"description": "Offset number of buffer.addHighlight, neovim only.",
"default": 1000
},
"diagnostic.signOffset": {
"type": "number",
"description": "Offset number of sign",
"default": 1000
},
"diagnostic.errorSign": {
"type": "string",
"description": "Text of error sign",
"default": ">>"
},
"diagnostic.warningSign": {
"type": "string",
"description": "Text of warning sign",
"default": "⚠"
},
"diagnostic.infoSign": {
"type": "string",
"description": "Text of info sign",
"default": ">>"
},
"diagnostic.hintSign": {
"type": "string",
"description": "Text of hint sign",
"default": ">>"
},
"diagnostic.maxWindowHeight": {
"type": "number",
"description": "Maximum height of diagnostics floating window.",
"default": 8
},
"diagnostic.maxWindowWidth": {
"type": "number",
"description": "Maximum width of diagnostics floating window.",
"default": 80
},
"diagnostic.filetypeMap": {
"type": "object",
"description": "A map between buffer filetype and the filetype assigned to diagnostics. To syntax highlight diagnostics withs their parent buffer type use `\"default\": \"bufferType\"`",
"default": {}
},
"diagnostic.format": {
"type": "string",
"description": "Define the diagnostic format. Available parts: source, code, severity, message",
"default": "[%source%code] [%severity] %message"
},
"diagnostic.separateRelatedInformationAsDiagnostics": {
"type": "boolean",
"default": false,
"description": "Separate related information as diagnostics"
},
"signature.enable": {
"type": "boolean",
"description": "Enable signature help when trigger character typed, require restart service on change.",
"default": true
},
"signature.triggerSignatureWait": {
"type": "integer",
"default": 50,
"minimum": 50,
"maximum": 300,
"description": "Timeout for trigger signature help, in miliseconds."
},
"signature.target": {
"type": "string",
"description": "Target of signature help, use float when possible by default.",
"enum": ["float", "echo", "preview"]
},
"signature.floatMaxWidth": {
"type": "integer",
"default": 60,
"description": "Max width of signature float window."
},
"signature.preferShownAbove": {
"type": "boolean",
"description": "Show signature help float window above cursor when possible, require restart service on change.",
"default": true
},
"signature.hideOnTextChange": {
"type": "boolean",
"description": "Hide signature float window when text changed, require restart service on change.",
"default": false
},
"signature.maxWindowHeight": {
"type": "number",
"description": "Maximum height of floating signature help window.",
"default": 8
},
"codeLens.enable": {
"type": "boolean",
"description": "Enable codeLens feature, require neovim with set virtual text feature.",
"default": false
},
"codeLens.separator": {
"type": "string",
"description": "Separator text for codeLens in virtual text",
"default": "‣"
},
"codeLens.subseparator": {
"type": "string",
"description": "Subseparator between codeLenses in virtual text",
"default": " "
},
"refactor.openCommand": {
"type": "string",
"description": "Open command for refactor window.",
"default": "vsplit"
},
"refactor.beforeContext": {
"type": "number",
"default": 3,
"description": "Print num lines of leading context before each match."
},
"refactor.afterContext": {
"type": "number",
"default": 3,
"description": "Print num lines of trailing context after each match."
},
"workspace.ignoredFiletypes": {
"type": "array",
"default": ["markdown", "log", "txt", "help"],
"description": "Filetypes that should be ignored for resolve workspace folder.",
"items": {
"type": "string"
}
},
"list.indicator": {
"type": "string",
"default": ">",
"description": "The character used as first character in prompt line"
},
"list.interactiveDebounceTime": {
"type": "number",
"default": 100,
"description": "Debouce time for input change on interactive mode."
},
"list.maxHeight": {
"type": "number",
"default": 10,
"description": "Maximum height of list window."
},
"list.minHeight": {
"type": "number",
"default": 1,
"description": "Minimum height of list window."
},
"list.signOffset": {
"type": "number",
"default": 900,
"description": "Sign offset of list, should be different from other plugins."
},
"list.selectedSignText": {
"type": "string",
"default": "*",
"description": "Sign text for selected lines."
},
"list.extendedSearchMode": {
"type": "boolean",
"default": true,
"description": "Enable extended search mode which allows multiple search patterns delimited by spaces."
},
"list.autoResize": {
"type": "boolean",
"default": true,
"description": "Enable auto resize feature."
},
"list.limitLines": {
"type": "number",
"default": 30000,
"description": "Limit lines for list buffer."
},
"list.maxPreviewHeight": {
"type": "number",
"default": 12,
"description": "Max height for preview window of list."
},
"list.previewSplitRight": {
"type": "boolean",
"default": false,
"description": "Use vsplit for preview window."
},
"list.previewHighlightGroup": {
"type": "string",
"default": "Search",
"description": "Highlight group used for highlight the range in preview window."
},
"list.nextKeymap": {
"type": "string",
"default": "<C-j>",
"description": "Key used for select next line on insert mode."
},
"list.previousKeymap": {
"type": "string",
"default": "<C-k>",
"description": "Key used for select previous line on insert mode."
},
"list.normalMappings": {
"type": "object",
"default": {},
"description": "Custom keymappings on normal mode."
},
"list.insertMappings": {
"type": "object",
"default": {},
"description": "Custom keymappings on insert mode."
},
"list.source.symbols.excludes": {
"type": "array",
"default": [],
"description": "Patterns of mimimatch for filepath to execlude from symbols list.",
"items": {
"type": "string"
}
},
"list.source.outline.ctagsFilestypes": {
"type": "array",
"default": [],
"description": "Filetypes that should use ctags for outline instead of language server.",
"items": {
"type": "string"
}
},
"cursors.cancelKey": {
"type": "string",
"default": "<esc>",
"description": "Key used for cancel cursors session."
},
"cursors.nextKey": {
"type": "string",
"default": "<C-n>",
"description": "Key used for jump to next cursors position. "
},
"cursors.previousKey": {
"type": "string",
"default": "<C-p>",
"description": "Key used for jump to previous cursors position."
},
"coc.preferences.maxFileSize": {
"type": "string",
"default": "10MB",
"description": "Maximum file size in bytes that coc.nvim should handle, default '10MB'"
},
"coc.preferences.promptWorkspaceEdit": {
"type": "boolean",
"description": "Prompt confirm from user when apply workspace edit for unloaded files.",
"default": true
},
"coc.preferences.listOfWorkspaceEdit": {
"type": "string",
"default": "quickfix",
"description": "List should contains changed locations after workspace edit, default to vim's quickfix",
"enum": ["quickfix", "location", "none"]
},
"coc.preferences.useQuickfixForLocations": {
"type": "boolean",
"description": "Use vim's quickfix list for jump locations,\n need restart on change.",
"default": false
},
"coc.preferences.extensionUpdateCheck": {
"type": "string",
"default": "never",
"description": "Interval for check extension update, could be daily, weekly, never",
"enum": ["daily", "weekly", "never"]
},
"coc.preferences.snippetStatusText": {
"type": "string",
"default": "SNIP",
"description": "Text shown in statusline to indicate snippet session is activated."
},
"coc.preferences.hoverTarget": {
"type": "string",
"description": "Target to show hover information, default is floating window when possible.",
"enum": ["preview", "echo", "float"]
},
"coc.preferences.colorSupport": {
"type": "boolean",
"description": "Enable color highlight if language server support it.",
"default": true
},
"coc.preferences.previewAutoClose": {
"type": "boolean",
"description": "Auto close preview window on cursor move.",
"default": true
},
"coc.preferences.previewMaxHeight": {
"type": "number",
"default": 12,
"description": "Max height of preview window for hover."
},
"coc.preferences.currentFunctionSymbolAutoUpdate": {
"type": "boolean",
"description": "Automatically update the value of b:coc_current_function on CursorHold event",
"default": false
},
"coc.preferences.formatOnSaveFiletypes": {
"type": "array",
"default": [],
"description": "Filetypes that should run format on save.",
"items": {
"type": "string"
}
},
"coc.preferences.formatOnInsertLeave": {
"type": "boolean",
"description": "Trigger format on type when insert leave by send \n to the server.",
"default": false
},
"coc.preferences.enableFloatHighlight": {
"type": "boolean",
"description": "Enable highlight for floating window.",
"default": true
},
"coc.preferences.rootPatterns": {
"type": "array",
"default": [".git", ".hg", ".projections.json"],
"description": "Root patterns to resolve workspaceFolder from parent folders of opened files, resolved from up to down.",
"items": {
"type": "string"
}
},
"coc.preferences.watchmanPath": {
"type": "string",
"description": "executable path for https://facebook.github.io/watchman/, detected from $PATH by default",
"default": null
},
"coc.preferences.jumpCommand": {
"type": "string",
"description": "Command used for location jump, like goto definition, goto references etc.",
"enum": ["edit", "split", "vsplit", "tabe", "drop", "tab drop"],
"default": "edit"
},
"coc.preferences.messageLevel": {
"type": "string",
"description": "Message level for filter echoed messages, could be 'more', 'warning' and 'error'",
"default": "more",
"enum": ["more", "warning", "error"]
},
"coc.preferences.bracketEnterImprove": {
"type": "boolean",
"description": "Improve enter inside bracket `<> {} [] ()` by add new empty line below and place cursor to it. Works with `coc#on_enter()`",
"default": true
},
"coc.preferences.formatOnType": {
"type": "boolean",
"description": "Set to true to enable format on type",
"default": false
},
"coc.preferences.formatOnTypeFiletypes": {
"type": "array",
"default": [],
"description": "Filetypes that should run format on typing. Only take effect when `coc.preferences.formatOnType` set `true`",
"items": {
"type": "string"
}
},
"coc.preferences.highlightTimeout": {
"type": "integer",
"default": 500,
"minimum": 200,
"maximum": 5000,
"description": "Highlight timeout for buffer in floating window."
},
"coc.preferences.snippets.enable": {
"type": "boolean",
"description": "Set to false to disable snippets support.",
"default": true
},
"coc.source.around.enable": {
"type": "boolean",
"default": true
},
"coc.source.around.firstMatch": {
"type": "boolean",
"description": "Filter complete items by first letter strict match.",
"default": true
},
"coc.source.around.shortcut": {
"type": "string",
"default": "A"
},
"coc.source.around.priority": {
"type": "integer",
"default": 1
},
"coc.source.around.disableSyntaxes": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"coc.source.buffer.enable": {
"type": "boolean",
"default": true
},
"coc.source.buffer.shortcut": {
"type": "string",
"default": "B"
},
"coc.source.buffer.priority": {
"type": "integer",
"default": 1
},
"coc.source.buffer.firstMatch": {
"type": "boolean",
"description": "Filter complete items by first letter strict match.",
"default": true
},
"coc.source.buffer.ignoreGitignore": {
"type": "boolean",
"default": true,
"description": "Ignore git ignored files for buffer words"
},
"coc.source.buffer.disableSyntaxes": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"coc.source.file.enable": {
"type": "boolean",
"default": true
},
"coc.source.file.shortcut": {
"type": "string",
"default": "F"
},
"coc.source.file.priority": {
"type": "integer",
"default": 10
},
"coc.source.file.disableSyntaxes": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"coc.source.file.triggerCharacters": {
"type": "array",
"default": ["/"],
"items": {
"type": "string"
}
},
"coc.source.file.trimSameExts": {
"type": "array",
"default": [".ts", ".js"],
"description": "Trim same extension on file completion",
"items": {
"type": "string"
}
},
"coc.source.file.ignoreHidden": {
"type": "boolean",
"default": true,
"description": "Ignore completion for hidden files"
},
"coc.source.file.ignorePatterns": {
"type": "array",
"default": [],
"description": "Ignore patterns of matcher",
"items": {
"type": "string"
}
},
"languageserver": {
"type": "object",
"default": {},
"description": "Dictionary of languageservers, key is used as id of languageserver.",
"patternProperties": {
"^[_a-zA-Z]+$": {
"oneOf": [
{
"$ref": "#/definitions/languageServerModule"
},
{
"$ref": "#/definitions/languageServerCommand"
},
{
"$ref": "#/definitions/languageServerSocket"
}
]
}
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sako-suke/rc-nvim-config.git
git@gitee.com:sako-suke/rc-nvim-config.git
sako-suke
rc-nvim-config
rc-nvim-config
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385