117 lines
3.2 KiB
JSON
117 lines
3.2 KiB
JSON
|
{
|
||
|
"name": "coc-yaml",
|
||
|
"version": "1.3.1",
|
||
|
"description": "yaml extension for coc.nvim",
|
||
|
"main": "lib/index.js",
|
||
|
"publisher": "chemzqm",
|
||
|
"keywords": [
|
||
|
"coc.nvim",
|
||
|
"yaml"
|
||
|
],
|
||
|
"engines": {
|
||
|
"coc": "^0.0.80"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"prepare": "node esbuild.js"
|
||
|
},
|
||
|
"activationEvents": [
|
||
|
"onLanguage:yaml"
|
||
|
],
|
||
|
"yamlValidation": [],
|
||
|
"contributes": {
|
||
|
"configuration": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"yaml.execArgv": {
|
||
|
"type": "array",
|
||
|
"default": [],
|
||
|
"description": "The execArgv option for node running yaml language server."
|
||
|
},
|
||
|
"yaml.trace.server": {
|
||
|
"type": "string",
|
||
|
"enum": [
|
||
|
"off",
|
||
|
"messages",
|
||
|
"verbose"
|
||
|
],
|
||
|
"default": "off",
|
||
|
"description": "Traces the communication between VSCode and the languageServerExample service."
|
||
|
},
|
||
|
"yaml.schemas": {
|
||
|
"type": "object",
|
||
|
"default": {},
|
||
|
"description": "Associate schemas to Yaml files in the current workspace"
|
||
|
},
|
||
|
"yaml.format.enable": {
|
||
|
"type": "boolean",
|
||
|
"default": false,
|
||
|
"description": "Enable/disable default YAML formatter (requires restart)"
|
||
|
},
|
||
|
"yaml.format.singleQuote": {
|
||
|
"type": "boolean",
|
||
|
"default": false,
|
||
|
"description": "Use single quotes instead of double quotes"
|
||
|
},
|
||
|
"yaml.format.bracketSpacing": {
|
||
|
"type": "boolean",
|
||
|
"default": true,
|
||
|
"description": "Print spaces between brackets in objects"
|
||
|
},
|
||
|
"yaml.format.proseWrap": {
|
||
|
"type": "string",
|
||
|
"default": "preserve",
|
||
|
"enum": [
|
||
|
"preserve",
|
||
|
"never",
|
||
|
"always"
|
||
|
],
|
||
|
"description": "Always: wrap prose if it exeeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is"
|
||
|
},
|
||
|
"yaml.format.printWidth": {
|
||
|
"type": "integer",
|
||
|
"default": 80,
|
||
|
"description": "Specify the line length that the printer will wrap on"
|
||
|
},
|
||
|
"yaml.validate": {
|
||
|
"type": "boolean",
|
||
|
"default": true,
|
||
|
"description": "Enable/disable validation feature"
|
||
|
},
|
||
|
"yaml.hover": {
|
||
|
"type": "boolean",
|
||
|
"default": true,
|
||
|
"description": "Enable/disable hover feature"
|
||
|
},
|
||
|
"yaml.completion": {
|
||
|
"type": "boolean",
|
||
|
"default": true,
|
||
|
"description": "Enable/disable completion feature"
|
||
|
},
|
||
|
"yaml.customTags": {
|
||
|
"type": "array",
|
||
|
"default": [],
|
||
|
"description": "Custom tags for the parser to use"
|
||
|
},
|
||
|
"yaml.schemaStore.enable": {
|
||
|
"type": "boolean",
|
||
|
"default": true,
|
||
|
"description": "Automatically pull available YAML schemas from JSON Schema Store"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"author": "chemzqm@gmail.com",
|
||
|
"license": "MIT",
|
||
|
"devDependencies": {
|
||
|
"@chemzqm/tsconfig": "^0.0.3",
|
||
|
"@types/node": "10.12.0",
|
||
|
"coc.nvim": "^0.0.81-next.2",
|
||
|
"esbuild": "^0.8.51",
|
||
|
"typescript": "^4.1.2"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"prettier": "2.0.5",
|
||
|
"yaml-language-server": "0.13.1-d0f9b44.0"
|
||
|
}
|
||
|
}
|