2022-05-18 13:29:28 -04:00
{
"$schema" : "http://json-schema.org/draft-07/schema#" ,
"description" : "Configuration file for coc.nvim" ,
"additionalProperties" : false ,
"definitions" : {
"float" : {
"type" : "object" ,
"properties" : {
"border" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Set to true to use borders."
} ,
2022-06-17 02:39:48 -04:00
"rounded" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Use rounded borders when border is true."
} ,
2022-05-18 13:29:28 -04:00
"highlight" : {
"type" : "string" ,
"default" : "CocFloating" ,
"description" : "Background highlight group of float window."
} ,
"title" : {
"type" : "string" ,
"default" : "" ,
"description" : "Title used by float window."
} ,
"borderhighlight" : {
"type" : "string" ,
"default" : "CocFloating" ,
"description" : "Border highlight group of float window."
} ,
"close" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Set to true to draw close icon"
} ,
"maxWidth" : {
"type" : "integer" ,
"description" : "Maximum width of float window, include border."
} ,
"maxHeight" : {
"type" : "integer" ,
"minimum" : 2 ,
"description" : "Maximum height of float window, include border."
} ,
"focusable" : {
"type" : "boolean" ,
"default" : true ,
"description" : "Enable focus by user actions (wincmds, mouse events), neovim only."
} ,
"shadow" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Drop shadow effect by blending with the background, neovim only."
} ,
"winblend" : {
"type" : "integer" ,
"default" : 0 ,
"minimum" : 0 ,
"maximum" : 100 ,
"description" : "Enables pseudo-transparency by set 'winblend' option of window, neovim only."
}
}
} ,
"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 ,
2022-09-13 07:48:57 -04:00
"description" : "Disable dynamic registerCapability feature for this languageserver to avoid duplicate feature registration."
2022-05-18 13:29:28 -04:00
} ,
"disableSnippetCompletion" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Disable completion snippet feature for this languageserver, the languageserver may not respect it."
} ,
"disabledFeatures" : {
"type" : "array" ,
"default" : [ ] ,
"description" : "Disabled features for this languageserver." ,
"items" : {
"type" : "string" ,
"enum" : [
"completion" ,
"configuration" ,
"workspaceFolders" ,
"diagnostics" ,
"willSave" ,
"willSaveUntil" ,
"didSaveTextDocument" ,
"fileSystemWatcher" ,
"hover" ,
"signatureHelp" ,
"definition" ,
"references" ,
"documentHighlight" ,
"documentSymbol" ,
"workspaceSymbol" ,
"codeAction" ,
"codeLens" ,
"formatting" ,
"documentFormatting" ,
"documentRangeFormatting" ,
"documentOnTypeFormatting" ,
"rename" ,
"documentLink" ,
"executeCommand" ,
"pullConfiguration" ,
"typeDefinition" ,
"implementation" ,
"declaration" ,
"color" ,
"foldingRange" ,
"selectionRange" ,
"progress" ,
"callHierarchy" ,
"linkedEditing" ,
2022-08-10 23:57:20 -04:00
"inlayHint" ,
"inlineValue" ,
"typeHierarchy" ,
"pullDiagnostic" ,
2022-05-18 13:29:28 -04:00
"fileEvents" ,
"semanticTokens"
]
}
} ,
"formatterPriority" : {
"type" : "number" ,
"default" : 0 ,
"description" : "Priority of this languageserver's formatter."
} ,
"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" : [ ] ,
2022-09-13 07:48:57 -04:00
"description" : "Additional URI schemes, default schemes including file & untitled." ,
2022-05-18 13:29:28 -04:00
"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" ,
2022-06-17 02:39:48 -04:00
"default" : false ,
2022-05-18 13:29:28 -04:00
"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"
2022-09-13 07:48:57 -04:00
} ,
"trace.server.verbosity" : {
"type" : "string" ,
"default" : "off" ,
"enum" : [ "off" , "messages" , "verbose" ] ,
"description" : "Trace level of communication between server and client"
} ,
"trace.server.format" : {
"type" : "string" ,
"default" : "text" ,
"enum" : [ "text" , "json" ] ,
"description" : "Text format of trace messages."
2022-05-18 13:29:28 -04:00
}
}
} ,
"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"
} ,
"disableSnippetCompletion" : { } ,
"disableDynamicRegister" : { } ,
"disabledFeatures" : { } ,
"formatterPriority" : { } ,
"enable" : { } ,
"rootPatterns" : { } ,
"requireRootPattern" : { } ,
"ignoredRootPaths" : { } ,
"filetypes" : { } ,
"additionalSchemes" : { } ,
"revealOutputChannelOn" : { } ,
"progressOnInitialization" : { } ,
"initializationOptions" : { } ,
"settings" : { } ,
"stdioEncoding" : { } ,
2022-09-13 07:48:57 -04:00
"trace.server" : { } ,
"trace.server.verbosity" : { } ,
"trace.server.format" : { }
2022-05-18 13:29:28 -04:00
}
} ,
"languageServerModule" : {
"type" : "object" ,
"allOf" : [ { "$ref" : "#/definitions/languageServerBase" } ] ,
"required" : [ "module" , "filetypes" ] ,
"additionalProperties" : false ,
"properties" : {
"module" : {
"type" : "string" ,
"default" : "" ,
2022-09-13 07:48:57 -04:00
"description" : "Absolute path of Javascript file, should works in IPC mode"
2022-05-18 13:29:28 -04:00
} ,
"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" : [ ] ,
2022-09-13 07:48:57 -04:00
"description" : "ARGV passed to node when using module, normally used for debugging, ex: [\"--nolazy\", \"--inspect-brk=6045\"]" ,
2022-05-18 13:29:28 -04:00
"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" : { } ,
"disableSnippetCompletion" : { } ,
"disabledFeatures" : { } ,
"formatterPriority" : { } ,
"rootPatterns" : { } ,
"requireRootPattern" : { } ,
"ignoredRootPaths" : { } ,
"filetypes" : { } ,
"additionalSchemes" : { } ,
"revealOutputChannelOn" : { } ,
"progressOnInitialization" : { } ,
"initializationOptions" : { } ,
"stdioEncoding" : { } ,
"settings" : { } ,
2022-09-13 07:48:57 -04:00
"trace.server" : { } ,
"trace.server.verbosity" : { } ,
"trace.server.format" : { }
2022-05-18 13:29:28 -04:00
}
} ,
"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" : { } ,
"disableSnippetCompletion" : { } ,
"disabledFeatures" : { } ,
"formatterPriority" : { } ,
"rootPatterns" : { } ,
"requireRootPattern" : { } ,
"ignoredRootPaths" : { } ,
"filetypes" : { } ,
"additionalSchemes" : { } ,
"revealOutputChannelOn" : { } ,
"progressOnInitialization" : { } ,
"initializationOptions" : { } ,
"stdioEncoding" : { } ,
"settings" : { } ,
2022-09-13 07:48:57 -04:00
"trace.server" : { } ,
"trace.server.verbosity" : { } ,
"trace.server.format" : { }
2022-05-18 13:29:28 -04:00
}
}
} ,
"properties" : {
2022-09-13 07:48:57 -04:00
"callHierarchy.enableTooltip" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : true ,
"description" : "Enable tooltip to show relative filepath of call hierarchy."
} ,
"callHierarchy.openCommand" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "edit" ,
"description" : "Open command for callHierarchy tree view."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"callHierarchy.splitCommand" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "botright 30vs" ,
"description" : "Window split command used by callHierarchy tree view."
} ,
"coc.preferences.bracketEnterImprove" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Improve enter inside bracket `<> {} [] ()` by add new empty line below and place cursor to it. Works with `coc#on_enter()`" ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.currentFunctionSymbolAutoUpdate" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Automatically update the value of b:coc_current_function on CursorHold event" ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.enableLinkedEditing" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"default" : false ,
"description" : "Enable linked editing support."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.enableMarkdown" : {
"type" : "boolean" ,
"scope" : "application" ,
"description" : "Tell the language server that markdown text format is supported, note that markdown text may not rendered as expected." ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.enableMessageDialog" : {
2022-08-10 23:57:20 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : false ,
"description" : "Enable messages shown in notification dialog."
2022-08-10 23:57:20 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.excludeImageLinksInMarkdownDocument" : {
"type" : "boolean" ,
"description" : "Exclude image links from markdown text in float window." ,
"scope" : "application" ,
"default" : true
2022-08-10 23:57:20 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.extensionUpdateCheck" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "never" ,
"description" : "Interval for check extension update, could be daily, weekly, never" ,
"enum" : [ "daily" , "weekly" , "never" ]
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.floatActions" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Set to false to disable float/popup support for actions menu." ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.formatOnSaveFiletypes" : {
"type" : "array" ,
"scope" : "resource" ,
"default" : [ ] ,
"description" : "Filetypes that should run format on save." ,
"items" : {
"type" : "string"
2022-05-18 13:29:28 -04:00
}
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.formatOnType" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Set to true to enable formatting on typing" ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.formatOnTypeFiletypes" : {
"type" : "array" ,
"default" : [ ] ,
"scope" : "resource" ,
"description" : "Filetypes that should run format on typing. Only take effect when `coc.preferences.formatOnType` set `true`" ,
"items" : {
"type" : "string"
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.jumpCommand" : {
"anyOf" : [
{
"type" : "string" ,
"enum" : [
"edit" ,
"split" ,
"vsplit" ,
"tabe" ,
"drop" ,
"tab drop" ,
"pedit"
]
} ,
{ "type" : "string" , "minimum" : 1 }
] ,
"scope" : "application" ,
"description" : "Command used for location jump, like goto definition, goto references etc. Can be also a custom command that gives file as an argument." ,
"default" : "edit"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.maxFileSize" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "10MB" ,
"description" : "Maximum file size in bytes that coc.nvim should handle, default '10MB'"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.messageLevel" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Message level for filter echoed messages, could be 'more', 'warning' and 'error'" ,
"default" : "more" ,
"enum" : [ "more" , "warning" , "error" ]
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.promptInput" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Use prompt buffer in float window for user input." ,
"scope" : "application" ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.renameFillCurrent" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : true ,
"description" : "Disable to stop Refactor-Rename float/popup window from populating with old name in the New Name field."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.rootPatterns" : {
"type" : "array" ,
"default" : [ ".git" , ".hg" , ".projections.json" ] ,
"scope" : "application" ,
"description" : "Root patterns to resolve workspaceFolder from parent folders of opened files, resolved from up to down." ,
"items" : {
"type" : "string"
}
} ,
"coc.preferences.silentAutoupdate" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Not open split window with update status when performing auto update." ,
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.useQuickfixForLocations" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Use vim's quickfix list for jump locations,\n need restart on change." ,
2022-05-18 13:29:28 -04:00
"default" : false
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.watchmanPath" : {
"type" : "string" ,
"scope" : "application" ,
"description" : "executable path for https://facebook.github.io/watchman/, detected from $PATH by default" ,
"default" : null
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.preferences.willSaveHandlerTimeout" : {
2022-05-18 13:29:28 -04:00
"type" : "integer" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : 500 ,
"minimum" : 200 ,
"maximum" : 5000 ,
"description" : "Will save handler timeout"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.around.disableSyntaxes" : {
"type" : "array" ,
"default" : [ ] ,
"scope" : "application" ,
"items" : {
"type" : "string"
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.around.enable" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.around.priority" : {
2022-05-18 13:29:28 -04:00
"type" : "integer" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : 1
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.around.shortcut" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "A"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.buffer.disableSyntaxes" : {
"type" : "array" ,
"default" : [ ] ,
"scope" : "application" ,
"items" : {
"type" : "string"
}
} ,
"coc.source.buffer.enable" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.buffer.ignoreGitignore" : {
"type" : "boolean" ,
"default" : true ,
"scope" : "application" ,
"description" : "Ignore git ignored files for buffer words"
} ,
"coc.source.buffer.priority" : {
"type" : "integer" ,
"scope" : "application" ,
"default" : 1
} ,
"coc.source.buffer.shortcut" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "B"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.file.disableSyntaxes" : {
"type" : "array" ,
"default" : [ ] ,
"scope" : "application" ,
"items" : {
"type" : "string"
}
} ,
"coc.source.file.enable" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"coc.source.file.ignoreHidden" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : true ,
"description" : "Ignore completion for hidden files"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.file.ignorePatterns" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : [ ] ,
"description" : "Ignore patterns of matcher" ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
2022-09-13 07:48:57 -04:00
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.file.priority" : {
"type" : "integer" ,
"scope" : "application" ,
"default" : 10
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.file.shortcut" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "F"
} ,
"coc.source.file.triggerCharacters" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"default" : [ "/" , "\\" ] ,
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
2022-09-13 07:48:57 -04:00
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"coc.source.file.trimSameExts" : {
"type" : "array" ,
"scope" : "application" ,
"default" : [ ".ts" , ".js" ] ,
"description" : "Trim same extension on file completion" ,
"items" : {
"type" : "string"
}
} ,
"codeLens.enable" : {
2022-08-10 23:57:20 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Enable codeLens feature, require neovim with set virtual text feature." ,
2022-08-10 23:57:20 -04:00
"default" : false
} ,
2022-09-13 07:48:57 -04:00
"codeLens.position" : {
"type" : "string" ,
"scope" : "resource" ,
"enum" : [ "top" , "eol" , "right_align" ] ,
"description" : "Position of codeLens, requires nvim >= 0.6.0" ,
"default" : "top"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"codeLens.separator" : {
"type" : "string" ,
"scope" : "resource" ,
"description" : "Separator text for codeLens in virtual text" ,
"default" : ""
} ,
"codeLens.subseparator" : {
"type" : "string" ,
"scope" : "resource" ,
"description" : "Subseparator between codeLenses in virtual text" ,
"default" : " "
2022-05-18 13:29:28 -04:00
} ,
"colors.filetypes" : {
"type" : "array" ,
"default" : [ ] ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
2022-05-18 13:29:28 -04:00
"description" : "Filetypes that should be enabled for colors highlight feature, use \"*\" for all filetypes." ,
"items" : {
"type" : "string"
}
} ,
"colors.highlightPriority" : {
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
2022-05-18 13:29:28 -04:00
"description" : "Priority for colors highlights, works on vim8 and neovim >= 0.6.0" ,
"default" : 1000 ,
"maximum" : 4096
} ,
2022-09-13 07:48:57 -04:00
"cursors.cancelKey" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<esc>" ,
"description" : "Key used for cancel cursors session."
} ,
"cursors.nextKey" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<C-n>" ,
"description" : "Key used for jump to next cursors position."
} ,
"cursors.previousKey" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<C-p>" ,
"description" : "Key used for jump to previous cursors position."
} ,
"cursors.wrapscan" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : true ,
"description" : "Searches wrap around the first or last cursors range."
} ,
"diagnostic.autoRefresh" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Enable automatically refresh diagnostics, use diagnosticRefresh action when it's disabled." ,
"default" : true
} ,
"diagnostic.checkCurrentLine" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "When enabled, show all diagnostics of current line if there are none at the current position." ,
"default" : false
} ,
"diagnostic.displayByAle" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Use Ale for display diagnostics in vim, will disable coc for display diagnostics, restart required on change." ,
2022-05-18 13:29:28 -04:00
"default" : false
} ,
"diagnostic.enable" : {
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "Set to false to disable diagnostic display" ,
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.enableHighlightLineNumber" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : true ,
"description" : "Enable highlighting line numbers for diagnostics, only works with neovim."
} ,
"diagnostic.enableMessage" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "always" ,
"description" : "When to enable show messages of diagnostics." ,
"enum" : [ "always" , "jump" , "never" ]
} ,
"diagnostic.enableSign" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"default" : true ,
"description" : "Enable signs for diagnostics."
} ,
"diagnostic.errorSign" : {
"type" : "string" ,
"scope" : "application" ,
"description" : "Text of error sign" ,
"default" : ">>"
} ,
"diagnostic.filetypeMap" : {
"type" : "object" ,
"scope" : "application" ,
"description" : "A map between buffer filetype and the filetype assigned to diagnostics. To syntax highlight diagnostics with their parent buffer type use `\"default\": \"bufferType\"`" ,
"default" : { }
} ,
"diagnostic.floatConfig" : {
"type" : "object" ,
"scope" : "application" ,
"description" : "Configure float window style of diagnostic message." ,
"allOf" : [ { "$ref" : "#/definitions/float" } ] ,
"additionalProperties" : false ,
"properties" : {
"border" : { } ,
"rounded" : { } ,
"highlight" : { } ,
"borderhighlight" : { } ,
"title" : { } ,
"close" : { } ,
"maxHeight" : { } ,
"maxWidth" : { } ,
"winblend" : { } ,
"focusable" : { } ,
"shadow" : { }
}
} ,
"diagnostic.format" : {
"type" : "string" ,
"scope" : "language-overridable" ,
"description" : "Define the diagnostic format that shown in float window or echoed, available parts: source, code, severity, message" ,
"default" : "%message (%source%code)"
} ,
"diagnostic.highlightLimit" : {
2022-05-18 13:29:28 -04:00
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "Limit count for highlighted diagnostics, too many diagnostic highlights could make vim stop responding" ,
"default" : 1000
} ,
"diagnostic.highlightPriority" : {
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "Priority for diagnostic highlights, works on vim8 and neovim >= 0.6.0" ,
"default" : 4096 ,
"maximum" : 4096 ,
"minimum" : 110
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.hintSign" : {
"type" : "string" ,
"scope" : "application" ,
"description" : "Text of hint sign" ,
"default" : ">>"
} ,
"diagnostic.infoSign" : {
"type" : "string" ,
"scope" : "application" ,
"description" : "Text of info sign" ,
"default" : ">>"
2022-05-18 13:29:28 -04:00
} ,
"diagnostic.level" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
2022-05-18 13:29:28 -04:00
"description" : "Used for filter diagnostics by diagnostic severity." ,
"default" : "hint" ,
"enum" : [ "hint" , "information" , "warning" , "error" ]
} ,
"diagnostic.locationlistLevel" : {
"type" : [ "string" , "null" ] ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "Filter diagnostics in locationlist." ,
"default" : null ,
"enum" : [ "hint" , "information" , "warning" , "error" ]
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.locationlistUpdate" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Update locationlist on diagnostics change, only works with locationlist opened by :CocDiagnostics command and first window of associated buffer." ,
"default" : true
} ,
"diagnostic.messageDelay" : {
"type" : "number" ,
"scope" : "application" ,
"description" : "How long to wait (in milliseconds) before displaying the diagnostic message with echo or float" ,
"default" : 200
2022-05-18 13:29:28 -04:00
} ,
"diagnostic.messageLevel" : {
"type" : [ "string" , "null" ] ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "Filter diagnostic message in float window/popup." ,
"default" : null ,
"enum" : [ "hint" , "information" , "warning" , "error" ]
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.messageTarget" : {
"type" : "string" ,
"scope" : "language-overridable" ,
"description" : "Diagnostic message target." ,
"default" : "float" ,
"enum" : [ "echo" , "float" ]
} ,
"diagnostic.refreshOnInsertMode" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Enable diagnostic refresh on insert mode, default false." ,
2022-05-18 13:29:28 -04:00
"default" : false
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.separateRelatedInformationAsDiagnostics" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"default" : false ,
"scope" : "application" ,
"description" : "Separate related information as diagnostics."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.showDeprecated" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"default" : true ,
"scope" : "language-overridable" ,
"description" : "Show diagnostics with deprecated tag."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.showUnused" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"default" : true ,
"scope" : "language-overridable" ,
"description" : "Show diagnostics with unused tag, affects highlight, sign, virtual text, message"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.signLevel" : {
2022-05-18 13:29:28 -04:00
"type" : [ "string" , "null" ] ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Filter diagnostics displayed in signcolumn." ,
2022-05-18 13:29:28 -04:00
"default" : null ,
"enum" : [ "hint" , "information" , "warning" , "error" ]
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.signPriority" : {
"type" : "number" ,
"scope" : "resource" ,
"description" : "Priority of diagnostic signs, default to 10" ,
"default" : 10
} ,
"diagnostic.virtualText" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Use virtual text to display diagnostics, requires neovim >= 0.5.0 or vim >= 9.0.0067." ,
"default" : false
} ,
"diagnostic.virtualTextAlign" : {
"type" : "string" ,
"scope" : "language-overridable" ,
"description" : "Position of virtual text, default 'after'. Vim9 only" ,
"default" : "after" ,
"enum" : [ "after" , "right" , "below" ]
2022-05-18 13:29:28 -04:00
} ,
"diagnostic.virtualTextCurrentLineOnly" : {
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "Only show virtualText diagnostic on current cursor line" ,
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.virtualTextFormat" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Define the virtual text diagnostic format, available parts: source, code, severity, message" ,
"default" : "%message"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.virtualTextLevel" : {
"type" : [ "string" , "null" ] ,
"scope" : "language-overridable" ,
"description" : "Filter diagnostic message in virtual text by level" ,
"default" : null ,
"enum" : [ "hint" , "information" , "warning" , "error" ]
} ,
"diagnostic.virtualTextLimitInOneLine" : {
"type" : "integer" ,
"scope" : "language-overridable" ,
"minimum" : 1 ,
"description" : "The maximum number of diagnostic messages to disaply in one line" ,
"default" : 999
2022-05-18 13:29:28 -04:00
} ,
"diagnostic.virtualTextLineSeparator" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"description" : "The text that will mark a line end from the diagnostic message" ,
"default" : " \\ "
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.virtualTextLines" : {
2022-05-18 13:29:28 -04:00
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "The number of non empty lines from a diagnostic to display" ,
"default" : 3
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"diagnostic.virtualTextPrefix" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "The prefix added virtual text diagnostics" ,
"default" : " "
} ,
"diagnostic.virtualTextWinCol" : {
"type" : [ "number" , "null" ] ,
"scope" : "language-overridable" ,
"description" : "Window column number to align virtual text, neovim only." ,
"default" : null
2022-05-18 13:29:28 -04:00
} ,
"diagnostic.warningSign" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"description" : "Text of warning sign" ,
"default" : "⚠"
} ,
2022-09-13 07:48:57 -04:00
"dialog.confirmKey" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"default" : "<cr>" ,
"scope" : "application" ,
"description" : "Confirm key for confirm selection used by menu and picker, you can always use <esc> to cancel."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"dialog.floatBorderHighlight" : {
"type" : [ "string" , "null" ] ,
"default" : null ,
"scope" : "application" ,
"description" : "Highlight group for border of dialog window/popup, default to 'CocFloating'"
} ,
"dialog.floatHighlight" : {
"type" : [ "string" , "null" ] ,
"default" : null ,
"scope" : "application" ,
"description" : "Highlight group for dialog window/popup, default to 'CocFloating'"
} ,
"dialog.maxHeight" : {
"type" : "number" ,
"default" : 30 ,
"scope" : "application" ,
"description" : "Maximum height of dialog window."
} ,
"dialog.maxWidth" : {
"type" : "number" ,
"default" : 80 ,
"scope" : "application" ,
"description" : "Maximum width of dialog window."
} ,
"dialog.pickerButtonShortcut" : {
"type" : "boolean" ,
"default" : true ,
"scope" : "application" ,
"description" : "Show shortcut in buttons of picker dialog window/popup, used when dialog.pickerButtons is true."
} ,
"dialog.pickerButtons" : {
"type" : "boolean" ,
"default" : true ,
"scope" : "application" ,
"description" : "Show buttons for picker dialog window/popup."
} ,
"dialog.rounded" : {
"type" : "boolean" ,
"default" : true ,
"scope" : "application" ,
"description" : "use rounded border for dialog window."
} ,
"dialog.shortcutHighlight" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"default" : "MoreMsg" ,
"scope" : "application" ,
"description" : "Highlight group for shortcut character in menu dialog, default to 'MoreMsg'"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"documentHighlight.priority" : {
"type" : "number" ,
"default" : -1 ,
"scope" : "resource" ,
"description" : "Match priority used by document highlight, see ':h matchadd'"
} ,
"documentHighlight.timeout" : {
"type" : "integer" ,
"default" : 300 ,
"minimum" : 200 ,
"maximum" : 5000 ,
"scope" : "resource" ,
"description" : "Timeout for document highlight, in milliseconds."
} ,
"floatFactory.floatConfig" : {
2022-05-18 13:29:28 -04:00
"type" : "object" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Configure default style float window/popup created by float factory (created around cursor and automatically closed)" ,
2022-05-18 13:29:28 -04:00
"allOf" : [ { "$ref" : "#/definitions/float" } ] ,
"additionalProperties" : false ,
"properties" : {
"border" : { } ,
2022-06-17 02:39:48 -04:00
"rounded" : { } ,
2022-05-18 13:29:28 -04:00
"highlight" : { } ,
"borderhighlight" : { } ,
"title" : { } ,
"close" : { } ,
"maxWidth" : { } ,
2022-09-13 07:48:57 -04:00
"maxHeight" : { } ,
2022-05-18 13:29:28 -04:00
"winblend" : { } ,
"focusable" : { } ,
"shadow" : { }
}
} ,
2022-09-13 07:48:57 -04:00
"hover.autoHide" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
2022-09-13 07:48:57 -04:00
"description" : "Automatically hide hover float window on CursorMove or InsertEnter."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"hover.floatConfig" : {
2022-05-18 13:29:28 -04:00
"type" : "object" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Configure float window style of hover documents." ,
2022-05-18 13:29:28 -04:00
"allOf" : [ { "$ref" : "#/definitions/float" } ] ,
"additionalProperties" : false ,
"properties" : {
"border" : { } ,
2022-06-17 02:39:48 -04:00
"rounded" : { } ,
2022-05-18 13:29:28 -04:00
"highlight" : { } ,
"borderhighlight" : { } ,
"title" : { } ,
"close" : { } ,
"maxHeight" : { } ,
"maxWidth" : { } ,
"winblend" : { } ,
"focusable" : { } ,
"shadow" : { }
}
} ,
2022-09-13 07:48:57 -04:00
"hover.previewMaxHeight" : {
"type" : "number" ,
"scope" : "resource" ,
"default" : 12 ,
"description" : "Max height of preview window for hover."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"hover.target" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"default" : "float" ,
"scope" : "resource" ,
"description" : "Target to show hover information, default is floating window when possible." ,
"enum" : [ "preview" , "echo" , "float" ]
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"http.proxy" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"default" : "" ,
"pattern" : "^https?://([^:]*(:[^@]*)?@)?([^:]+|\\[[:0-9a-fA-F]+\\])(:\\d+)?/?$|^$" ,
"description" : "The proxy setting to use. If not set, will be inherited from the `http_proxy` and `https_proxy` environment variables." ,
"scope" : "application"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"http.proxyAuthorization" : {
"type" : [ "null" , "string" ] ,
"description" : "The value to send as the `Proxy-Authorization` header for every network request." ,
"default" : null ,
"scope" : "application"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"http.proxyCA" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"description" : "CA (file) to use as Certificate Authority" ,
"default" : null ,
"scope" : "application"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"http.proxyStrictSSL" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Controls whether the proxy server certificate should be verified against the list of supplied CAs" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
2022-09-13 07:48:57 -04:00
"scope" : "application"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.enable" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
"default" : true ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Enable inlay hint support"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.enableParameter" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
2022-09-13 07:48:57 -04:00
"description" : "Enable inlay hints for parameters."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.filetypes" : {
"type" : [ "array" , "null" ] ,
"scope" : "application" ,
"description" : "Filetypes that enable inlayHint, all filetypes are enabled by default" ,
"deprecationMessage" : "Use inlayHint.enable with language scope instead" ,
2022-05-18 13:29:28 -04:00
"default" : null ,
2022-06-17 02:39:48 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.parameterSeparator" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"default" : "" ,
"description" : "Separator for parameter inlay hint, neovim only."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.refreshOnInsertMode" : {
"type" : "boolean" ,
"default" : false ,
"scope" : "language-overridable" ,
"description" : "Refresh inlayHints on insert mode."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.subSeparator" : {
2022-06-17 02:39:48 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"default" : " " ,
"description" : "Separator for chained inlay hints, neovim only."
2022-06-17 02:39:48 -04:00
} ,
2022-09-13 07:48:57 -04:00
"inlayHint.typeSeparator" : {
2022-05-27 03:57:56 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"default" : "" ,
"description" : "Separator for type inlay hint, neovim only."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"links.tooltip" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Show tooltip of link under cursor on CursorHold, neovim only" ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
"list.alignColumns" : {
"type" : "boolean" ,
"default" : false ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"description" : "Whether to align lists in columns, default: `false`"
} ,
2022-09-13 07:48:57 -04:00
"list.extendedSearchMode" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : true ,
"description" : "Enable extended search mode which allows multiple search patterns delimited by spaces."
2022-05-18 13:29:28 -04:00
} ,
"list.height" : {
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : 10 ,
"description" : "Height of split list window."
} ,
2022-09-13 07:48:57 -04:00
"list.indicator" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"default" : ">" ,
"scope" : "application" ,
"description" : "The character used as first character in prompt line."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"list.insertMappings" : {
"type" : "object" ,
"scope" : "application" ,
"default" : { } ,
"description" : "Custom keymappings on insert mode."
} ,
"list.interactiveDebounceTime" : {
"type" : "number" ,
"default" : 100 ,
"scope" : "application" ,
"description" : "Debounce time for input change on interactive mode."
2022-05-18 13:29:28 -04:00
} ,
"list.limitLines" : {
"type" : [ "number" , "null" ] ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : null ,
"description" : "Limit lines for list buffer."
} ,
"list.maxPreviewHeight" : {
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : 12 ,
"description" : "Max height for preview window of list."
} ,
2022-09-13 07:48:57 -04:00
"list.menuAction" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
"default" : false ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Use menu picker instead of confirm() for choose action."
} ,
"list.nextKeymap" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<C-j>" ,
"description" : "Key used for select next line on insert mode."
} ,
"list.normalMappings" : {
"type" : "object" ,
"scope" : "application" ,
"default" : { } ,
"description" : "Custom keymappings on normal mode."
2022-05-18 13:29:28 -04:00
} ,
"list.previewHighlightGroup" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : "Search" ,
"description" : "Highlight group used for highlight the range in preview window."
} ,
2022-09-13 07:48:57 -04:00
"list.previewSplitRight" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : false ,
"description" : "Use vsplit for preview window."
2022-05-18 13:29:28 -04:00
} ,
"list.previewToplineOffset" : {
"type" : "number" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : 3 ,
"description" : "Topline offset for list previews"
} ,
2022-09-13 07:48:57 -04:00
"list.previewToplineStyle" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "offset" ,
"description" : "Topline style for list previews" ,
"enum" : [ "offset" , "middle" ]
2022-05-18 13:29:28 -04:00
} ,
"list.previousKeymap" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : "<C-k>" ,
"description" : "Key used for select previous line on insert mode."
} ,
2022-09-13 07:48:57 -04:00
"list.selectedSignText" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "*" ,
"description" : "Sign text for selected lines."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"list.signOffset" : {
"type" : "number" ,
"scope" : "application" ,
"default" : 900 ,
"description" : "Sign offset of list, should be different from other plugins."
} ,
"list.smartCase" : {
"type" : "boolean" ,
"default" : false ,
"scope" : "application" ,
"description" : "Use smartcase match for fuzzy match and strict match, --ignore-case will be ignored, may not affect interactive list."
2022-05-18 13:29:28 -04:00
} ,
"list.source.diagnostics.includeCode" : {
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"description" : "Whether to show the diagnostic code in the list." ,
"default" : true
} ,
"list.source.diagnostics.pathFormat" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"description" : "Decide how the filepath is shown in the list." ,
"enum" : [ "full" , "short" , "filename" , "hidden" ] ,
"default" : "full"
} ,
2022-09-13 07:48:57 -04:00
"list.source.outline.ctagsFiletypes" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : [ ] ,
2022-09-13 07:48:57 -04:00
"description" : "Filetypes that should use ctags for outline instead of language server." ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"list.source.symbols.excludes" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : [ ] ,
2022-09-13 07:48:57 -04:00
"description" : "Patterns of minimatch for filepath to exclude from symbols list." ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"list.statusLineSegments" : {
"type" : [ "array" , "null" ] ,
"scope" : "application" ,
"default" : [
"%#CocListMode#-- %{coc#list#status(\"mode\")} --%*" ,
"%{coc#list#status(\"loading\")}" ,
"%{coc#list#status(\"args\")}" ,
"(%L/%{coc#list#status(\"total\")})" ,
"%=" ,
"%#CocListPath# %{coc#list#status(\"cwd\")} %l/%L%*"
] ,
"items" : {
"types" : "string"
} ,
"description" : "An array of statusline segments that will be used to draw the status line for list windows."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.border" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
"default" : true ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Enable rounded border for notification windows."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.disabledProgressSources" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
"default" : [ ] ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Sources that should be disabled for message progress, use * to disable all message only progresses" ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"notification.focusable" : {
"type" : "boolean" ,
"default" : true ,
"scope" : "application" ,
"description" : "Enable focus by user actions (wincmds, mouse events), neovim only."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.highlightGroup" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"default" : "Normal" ,
"scope" : "application" ,
"description" : "Highlight group of notification dialog."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.marginRight" : {
"type" : "integer" ,
"default" : 10 ,
"scope" : "application" ,
"description" : "Margin right to the right of editor window."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.maxHeight" : {
"type" : "integer" ,
"default" : 10 ,
"scope" : "application" ,
"description" : "Maximum content height of notification dialog."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.maxWidth" : {
"type" : "integer" ,
"default" : 60 ,
"scope" : "application" ,
"description" : "Maximum content width of notification dialog."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.minProgressWidth" : {
"type" : "integer" ,
"default" : 30 ,
"scope" : "application" ,
"description" : "Minimal with of progress notification."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.timeout" : {
"type" : "integer" ,
"default" : 10000 ,
"scope" : "application" ,
"description" : "Timeout for auto close notifications, in milliseconds."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"notification.winblend" : {
"type" : "integer" ,
"default" : 30 ,
"minimum" : 0 ,
"maximum" : 100 ,
"scope" : "application" ,
"description" : "Winblend option of notification window, neovim only."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"npm.binPath" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "npm" ,
"description" : "Command or absolute path to npm or yarn."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"outline.autoPreview" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : false ,
"description" : "Enable auto preview on cursor move."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"outline.autoWidth" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : true ,
"description" : "Automatically increase window width to avoid wrapped lines."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"outline.checkBufferSwitch" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
2022-09-13 07:48:57 -04:00
"description" : "Recreate outline view after user changed to another buffer on current tab."
} ,
"outline.codeActionKinds" : {
"type" : "array" ,
"scope" : "application" ,
"default" : [ "" , "quickfix" , "refactor" ] ,
"description" : "Filter code actions in actions menu by kinds." ,
"items" : {
"type" : "string" ,
"enum" : [ "" , "quickfix" , "refactor" , "source" ]
}
2022-05-18 13:29:28 -04:00
} ,
"outline.detailAsDescription" : {
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
"description" : "Show detail as description aside with label, when false detail will be shown in tooltip on cursor hold."
} ,
2022-09-13 07:48:57 -04:00
"outline.expandLevel" : {
"type" : "number" ,
"scope" : "application" ,
"default" : 1 ,
"description" : "Expand level of tree nodes."
2022-05-18 13:29:28 -04:00
} ,
"outline.followCursor" : {
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
"description" : "Reveal item in outline tree on cursor hold."
} ,
2022-09-13 07:48:57 -04:00
"outline.keepWindow" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : false ,
"description" : "Jump back to original window after outline is shown."
} ,
"outline.previewBorder" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true ,
2022-09-13 07:48:57 -04:00
"description" : "Use border for preview window."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"outline.previewBorderHighlightGroup" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "Normal" ,
"description" : "Border highlight group of preview window."
} ,
"outline.previewBorderRounded" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : false ,
2022-09-13 07:48:57 -04:00
"description" : "Use rounded border for preview window."
} ,
"outline.previewHighlightGroup" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "Normal" ,
"description" : "Highlight group of preview window."
} ,
"outline.previewMaxWidth" : {
"type" : "number" ,
"scope" : "application" ,
"default" : 80 ,
"description" : "Max width of preview window."
} ,
"outline.previewWinblend" : {
"type" : "integer" ,
"scope" : "application" ,
"default" : 0 ,
"minimum" : 0 ,
"maximum" : 100 ,
"description" : "Enables pseudo-transparency by set 'winblend' option of window, neovim only."
} ,
"outline.showLineNumber" : {
"type" : "boolean" ,
"scope" : "application" ,
"default" : true ,
"description" : "Show line number of symbols."
2022-05-18 13:29:28 -04:00
} ,
"outline.sortBy" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : "category" ,
"description" : "Sort method for symbols." ,
"enum" : [ "position" , "name" , "category" ]
} ,
2022-09-13 07:48:57 -04:00
"outline.splitCommand" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "botright 30vs" ,
"description" : "Window split command used by outline."
} ,
2022-05-18 13:29:28 -04:00
"outline.switchSortKey" : {
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : "<C-s>" ,
"description" : "The key used to switch sort method for symbols provider of current tree view."
} ,
2022-09-13 07:48:57 -04:00
"outline.togglePreviewKey" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "p" ,
"description" : "The key used to toggle auto preview feature."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"pullDiagnostic.ignored" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"default" : [ ] ,
"scope" : "application" ,
"description" : "Minimatch patterns to match full filepath that should be ignored for pullDiagnostic." ,
2022-05-18 13:29:28 -04:00
"items" : {
2022-09-13 07:48:57 -04:00
"type" : "string"
2022-05-18 13:29:28 -04:00
}
} ,
2022-09-13 07:48:57 -04:00
"pullDiagnostic.onChange" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
"default" : true ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Whether to pull for diagnostics on document change."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"pullDiagnostic.onSave" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
"default" : false ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Whether to pull for diagnostics on document save."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"pullDiagnostic.workspace" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"default" : true ,
"scope" : "application" ,
"description" : "Whether to pull for workspace diagnostics when possible."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"refactor.afterContext" : {
"type" : "number" ,
"scope" : "application" ,
"default" : 3 ,
"description" : "Print num lines of trailing context after each match."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"refactor.beforeContext" : {
"type" : "number" ,
"scope" : "application" ,
"default" : 3 ,
"description" : "Print num lines of leading context before each match."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"refactor.openCommand" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Open command for refactor window." ,
"default" : "vsplit"
} ,
"refactor.saveToFile" : {
"type" : "boolean" ,
"scope" : "application" ,
"description" : "Save changed buffer to file when write refactor buffer with ':noa wa' command." ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"refactor.showMenu" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "<Tab>" ,
"description" : "Refactor buffer local mapping to bring up menu for this chunk."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"semanticTokens.combinedModifiers" : {
"type" : "array" ,
"scope" : "language-overridable" ,
"description" : "Semantic token modifiers that should have highlight combined with syntax highlights." ,
"default" : [ "deprecated" ] ,
"items" : {
"type" : "string"
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"semanticTokens.enable" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"default" : false ,
"scope" : "language-overridable" ,
"description" : "Enable semantic tokens support"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"semanticTokens.filetypes" : {
"type" : [ "array" , "null" ] ,
"scope" : "resource" ,
"description" : "Filetypes that enable semantic tokens highlighting or [\"*\"] for any filetype" ,
"deprecationMessage" : "Use semanticTokens.enable with language scope instead" ,
"default" : null ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"semanticTokens.highlightPriority" : {
"type" : "number" ,
"scope" : "language-overridable" ,
"description" : "Priority for semantic tokens highlight." ,
"default" : 2048 ,
"maximum" : 4096
} ,
"semanticTokens.incrementTypes" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
"description" : "Semantic token types that should increase highlight when insert at the start and end position of token." ,
"default" : [ "variable" , "string" , "parameter" ] ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"signature.enable" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Enable signature help when trigger character typed, require restart service on change." ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"signature.floatConfig" : {
"type" : "object" ,
"scope" : "application" ,
"description" : "Configure float window style of signature documents." ,
"allOf" : [ { "$ref" : "#/definitions/float" } ] ,
"additionalProperties" : false ,
"properties" : {
"border" : { } ,
"rounded" : { } ,
"highlight" : { } ,
"borderhighlight" : { } ,
"title" : { } ,
"close" : { } ,
"maxHeight" : { } ,
"maxWidth" : { } ,
"winblend" : { } ,
"focusable" : { } ,
"shadow" : { }
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"signature.hideOnTextChange" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Hide signature float window when text changed on insert mode." ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"signature.preferShownAbove" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Show signature help float window above cursor when possible, require restart service on change." ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"signature.target" : {
"type" : "string" ,
"scope" : "language-overridable" ,
"description" : "Target of signature help, use float when possible by default." ,
"default" : "float" ,
"enum" : [ "float" , "echo" ]
} ,
"signature.triggerSignatureWait" : {
"type" : "integer" ,
"scope" : "language-overridable" ,
"default" : 500 ,
"minimum" : 200 ,
"maximum" : 1000 ,
"description" : "Timeout for trigger signature help, in milliseconds."
} ,
"snippet.choicesMenuPicker" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
"description" : "Use menu picker instead of popup menu for choices placeholder." ,
2022-05-18 13:29:28 -04:00
"default" : false
} ,
2022-09-13 07:48:57 -04:00
"snippet.highlight" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
"description" : "Use highlight group 'CocSnippetVisual' to highlight placeholders with same index of current one." ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"snippet.nextPlaceholderOnDelete" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
"description" : "Automatically jump to the next placeholder when the current one is completely deleted." ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"snippet.statusText" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "SNIP" ,
"description" : "Text shown in statusline to indicate snippet session is activated."
} ,
"suggest.acceptSuggestionOnCommitCharacter" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"default" : false ,
"scope" : "language-overridable" ,
"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."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.asciiCharactersOnly" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Trigger suggest with ASCII characters only" ,
"scope" : "language-overridable" ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.asciiMatch" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Convert unicode characters to ascii for match" ,
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"suggest.autoTrigger" : {
"type" : "string" ,
"scope" : "language-overridable" ,
"default" : "always" ,
"description" : "How should completion be triggered" ,
"enum" : [ "always" , "trigger" , "none" ]
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.completionItemKindLabels" : {
"type" : "object" ,
"default" : { } ,
"scope" : "application" ,
"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.defaultSortMethod" : {
"type" : "string" ,
"description" : "Default sorting behavior for suggested completion items." ,
"default" : "length" ,
"scope" : "language-overridable" ,
"enum" : [ "length" , "alphabetical" , "none" ]
} ,
"suggest.detailField" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "preview" ,
"description" : "Where to show the detail text of CompleteItem from LS." ,
"enum" : [ "abbr" , "preview" ]
} ,
"suggest.detailMaxLength" : {
"type" : "number" ,
"scope" : "application" ,
"description" : "Max length of detail that should be shown in popup menu." ,
"deprecationMessage" : "Use suggest.labelMaxLength instead." ,
"default" : 100
} ,
"suggest.enablePreselect" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Enable preselect feature of LSP, works when suggest.noselect is false." ,
"default" : true
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.fixInsertedWord" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Make inserted word replace word characters after cursor position." ,
"scope" : "application" ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"suggest.floatConfig" : {
"type" : "object" ,
"scope" : "application" ,
"description" : "Configure style of popup menu and documentation window of completion." ,
"allOf" : [ { "$ref" : "#/definitions/float" } ] ,
"additionalProperties" : false ,
"properties" : {
"border" : { } ,
"rounded" : { } ,
"highlight" : { } ,
"borderhighlight" : { } ,
"maxWidth" : { } ,
"winblend" : { } ,
"shadow" : { }
}
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.formatItems" : {
"type" : "array" ,
"scope" : "application" ,
"items" : {
"enum" : [ "abbr" , "menu" , "kind" , "shortcut" ]
} ,
"contains" : {
"enum" : [ "abbr" ]
} ,
"uniqueItems" : true ,
"description" : "Items shown in popup menu in order." ,
"default" : [ "abbr" , "menu" , "kind" , "shortcut" ]
} ,
"suggest.highPrioritySourceLimit" : {
2022-05-18 13:29:28 -04:00
"type" : "integer" ,
2022-09-13 07:48:57 -04:00
"minimum" : 1 ,
"maximum" : 100 ,
"scope" : "language-overridable" ,
"description" : "Max items count for source priority bigger than or equal to 90."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.ignoreRegexps" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
2022-09-13 07:48:57 -04:00
} ,
"description" : "Regexps to ignore when trigger suggest" ,
"default" : [ ]
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.invalidInsertCharacters" : {
"type" : "array" ,
"items" : {
"type" : "string"
} ,
"scope" : "application" ,
"description" : "Invalid character for strip valid word when inserting text of complete item." ,
"default" : [ " " , "(" , "<" , "{" , "[" , "\r" , "\n" ]
} ,
"suggest.labelMaxLength" : {
"type" : "number" ,
"scope" : "application" ,
"description" : "Max length of abbr that shown as label of complete item." ,
"default" : 200
} ,
"suggest.languageSourcePriority" : {
"type" : "number" ,
"default" : 99 ,
"scope" : "language-overridable" ,
"description" : "Priority of language sources."
} ,
"suggest.localityBonus" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Boost suggestions that appear closer to the cursor position." ,
"scope" : "language-overridable" ,
2022-05-18 13:29:28 -04:00
"default" : true
} ,
2022-09-13 07:48:57 -04:00
"suggest.lowPrioritySourceLimit" : {
"type" : "integer" ,
"minimum" : 1 ,
"maximum" : 100 ,
"scope" : "language-overridable" ,
"description" : "Max items count for source priority lower than 90."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.maxCompleteItemCount" : {
"type" : "number" ,
"default" : 50 ,
"scope" : "language-overridable" ,
"description" : "Maximum number of complete items shown in vim"
} ,
"suggest.minTriggerInputLength" : {
2022-05-18 13:29:28 -04:00
"type" : "integer" ,
2022-09-13 07:48:57 -04:00
"default" : 1 ,
"scope" : "language-overridable" ,
"description" : "Minimal input length for trigger completion, default 1"
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.noselect" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Not make vim select first item on popupmenu shown" ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.preferCompleteThanJumpPlaceholder" : {
"type" : "boolean" ,
"description" : "Confirm completion instead of jump to next placeholder when completion is activated." ,
"scope" : "resource" ,
"default" : false
} ,
"suggest.pumFloatConfig" : {
"type" : [ "object" , "null" ] ,
"scope" : "application" ,
"description" : "Configure style of popup menu, suggest.floatConfig is used when not specified." ,
"allOf" : [ { "$ref" : "#/definitions/float" } ] ,
"additionalProperties" : false ,
"default" : null ,
"properties" : {
"border" : { } ,
"rounded" : { } ,
"highlight" : { } ,
"borderhighlight" : { } ,
"maxWidth" : { } ,
"winblend" : { } ,
"shadow" : { }
2022-05-18 13:29:28 -04:00
}
} ,
2022-09-13 07:48:57 -04:00
"suggest.removeDuplicateItems" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
2022-09-13 07:48:57 -04:00
"description" : "Remove completion items with duplicated word for all sources, snippet items are excluded." ,
"scope" : "language-overridable" ,
"default" : false
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.reversePumAboveCursor" : {
"type" : "boolean" ,
"scope" : "application" ,
"description" : "Reverse order of complete items when pum shown above cursor." ,
"default" : false
} ,
"suggest.selection" : {
2022-05-18 13:29:28 -04:00
"type" : "string" ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"default" : "first" ,
"description" : "Controls how suggestions are pre-selected when showing the suggest list." ,
"enum" : [ "first" , "recentlyUsed" , "recentlyUsedByPrefix" ]
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.snippetIndicator" : {
"type" : "string" ,
"default" : "~" ,
"scope" : "application" ,
"description" : "The character used in abbr of complete item to indicate the item could be expand as snippet."
} ,
"suggest.snippetsSupport" : {
"type" : "boolean" ,
"scope" : "language-overridable" ,
"description" : "Set to false to disable snippets support of completion." ,
"default" : true
} ,
"suggest.timeout" : {
2022-05-18 13:29:28 -04:00
"type" : "integer" ,
2022-09-13 07:48:57 -04:00
"default" : 5000 ,
"minimum" : 500 ,
"maximum" : 15000 ,
"scope" : "language-overridable" ,
"description" : "Timeout for completion, in milliseconds."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"suggest.triggerAfterInsertEnter" : {
"type" : "boolean" ,
"description" : "Trigger completion after InsertEnter, auto trigger should be 'always' to enable this option" ,
"scope" : "language-overridable" ,
"default" : false
} ,
"suggest.triggerCompletionWait" : {
"type" : "integer" ,
"default" : 0 ,
"minimum" : 0 ,
"maximum" : 50 ,
"scope" : "language-overridable" ,
"description" : "Wait time between text change and completion start, cancel completion when text changed during wait."
} ,
"suggest.virtualText" : {
"type" : "boolean" ,
"scope" : "application" ,
"description" : "Show virtual text for insert word of selected item, requires neovim >= 0.5.0 or vim >= 9.0.0067" ,
"default" : false
} ,
"tree.closedIcon" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "+" ,
"description" : "Closed icon of tree view."
} ,
"tree.key.actions" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<tab>" ,
"description" : "Trigger key to invoke actions."
} ,
"tree.key.activeFilter" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "f" ,
"description" : "Trigger key active filter."
} ,
"tree.key.close" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<esc>" ,
"description" : "Trigger key to dispose the tree and close tree window."
} ,
"tree.key.collapseAll" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "M" ,
"description" : "Trigger key to collapse all tree node."
} ,
"tree.key.invoke" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<cr>" ,
"description" : "Trigger key to invoke default command of current node or selection."
} ,
"tree.key.selectNext" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<C-j>" ,
"description" : "Trigger key to select next item during filter."
} ,
"tree.key.selectPrevious" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<C-k>" ,
"description" : "Trigger key to select previous item during filter."
} ,
"tree.key.toggle" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "t" ,
"description" : "Trigger key to toggle expand state of tree node, does nothing with leaf node."
} ,
"tree.key.toggleSelection" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "<space>" ,
"description" : "Trigger key to select/unselect item"
} ,
"tree.openedIcon" : {
"type" : "string" ,
"scope" : "application" ,
"default" : "-" ,
"description" : "Opened icon of tree view."
} ,
"workspace.bottomUpFiletypes" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
"default" : [ ] ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Filetypes that should have workspace folder should resolved from base directory of file, or [\"*\"] for any filetype." ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"workspace.ignoredFiletypes" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"default" : [ ] ,
"scope" : "resource" ,
"description" : "Filetypes that should be ignored for workspace folder resolve." ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"workspace.ignoredFolders" : {
2022-05-18 13:29:28 -04:00
"type" : "array" ,
2022-09-13 07:48:57 -04:00
"default" : [ "$HOME" ] ,
"scope" : "application" ,
"description" : "List of folders that should not be resolved as workspace folder, environment variables and minimatch patterns can be used." ,
2022-05-18 13:29:28 -04:00
"items" : {
"type" : "string"
}
} ,
2022-09-13 07:48:57 -04:00
"workspace.openOutputCommand" : {
"type" : "string" ,
"default" : "vs" ,
"scope" : "resource" ,
"description" : "Command used to open output channel."
} ,
"workspace.openResourceCommand" : {
"type" : "string" ,
"default" : "tab drop" ,
"scope" : "application" ,
"description" : "Command to open files that not loaded, load files as hidden buffers when empty."
} ,
"workspace.workspaceFolderCheckCwd" : {
2022-05-18 13:29:28 -04:00
"type" : "boolean" ,
"default" : true ,
2022-09-13 07:48:57 -04:00
"scope" : "application" ,
"description" : "Whether the current working directory should be used first when checking patterns match for workspace folder."
2022-05-18 13:29:28 -04:00
} ,
2022-09-13 07:48:57 -04:00
"workspace.workspaceFolderFallbackCwd" : {
"type" : "boolean" ,
"default" : true ,
"scope" : "application" ,
"description" : "Use current working directory as workspace folder when no root patterns resolved."
2022-05-18 13:29:28 -04:00
} ,
"languageserver" : {
"type" : "object" ,
"default" : { } ,
2022-09-13 07:48:57 -04:00
"scope" : "resource" ,
"description" : "Dictionary of languageservers, key is used as id of languageserver, restart coc.nvim required after change." ,
2022-05-18 13:29:28 -04:00
"patternProperties" : {
"^[_a-zA-Z]+$" : {
"oneOf" : [
{
"$ref" : "#/definitions/languageServerModule"
} ,
{
"$ref" : "#/definitions/languageServerCommand"
} ,
{
"$ref" : "#/definitions/languageServerSocket"
}
]
}
}
}
}
}