212 lines
6.1 KiB
JSON
212 lines
6.1 KiB
JSON
{
|
|
"name": "coc-html",
|
|
"version": "1.4.1",
|
|
"description": "Html extension for coc",
|
|
"main": "lib/index.js",
|
|
"publisher": "chemzqm",
|
|
"engines": {
|
|
"coc": "^0.0.80"
|
|
},
|
|
"keywords": [
|
|
"coc.nvim",
|
|
"languageserver"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf lib",
|
|
"build": "webpack",
|
|
"prepare": "webpack"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "HTML",
|
|
"properties": {
|
|
"html.experimental.custom.tags": {
|
|
"type": "array",
|
|
"description": "A list of JSON file paths that define custom tags."
|
|
},
|
|
"html.experimental.custom.attributes": {
|
|
"type": "array",
|
|
"description": "A list of JSON file paths that define custom attributes."
|
|
},
|
|
"html.enable": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"html.execArgv": {
|
|
"type": "array",
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"html.trace.server": {
|
|
"type": "string",
|
|
"default": "off",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
]
|
|
},
|
|
"html.filetypes": {
|
|
"type": "array",
|
|
"default": [
|
|
"html",
|
|
"handlebars",
|
|
"htmldjango",
|
|
"blade"
|
|
],
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"html.format.enable": {
|
|
"type": "boolean",
|
|
"scope": "window",
|
|
"default": true,
|
|
"description": "Enable/disable default HTML formatter"
|
|
},
|
|
"html.format.wrapLineLength": {
|
|
"type": "integer",
|
|
"scope": "resource",
|
|
"default": 120,
|
|
"description": "Maximum amount of characters per line (0 = disable)."
|
|
},
|
|
"html.format.unformatted": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"scope": "resource",
|
|
"default": "wbr",
|
|
"description": "List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content."
|
|
},
|
|
"html.format.contentUnformatted": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"scope": "resource",
|
|
"default": "pre,code,textarea",
|
|
"description": "List of tags, comma separated, where the content shouldn't be reformatted. 'null' defaults to the 'pre' tag."
|
|
},
|
|
"html.format.indentInnerHtml": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": false
|
|
},
|
|
"html.format.preserveNewLines": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true
|
|
},
|
|
"html.format.maxPreserveNewLines": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
],
|
|
"scope": "resource",
|
|
"default": null,
|
|
"description": "List of tags, comma separated, that should have an extra newline before them. 'null'"
|
|
},
|
|
"html.format.indentHandlebars": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": false
|
|
},
|
|
"html.format.endWithNewline": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": false
|
|
},
|
|
"html.format.extraLiners": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"scope": "resource",
|
|
"default": "head, body, /html",
|
|
"description": "List of tags, comma separated, that should have an extra newline before them."
|
|
},
|
|
"html.format.wrapAttributes": {
|
|
"type": "string",
|
|
"scope": "resource",
|
|
"default": "auto",
|
|
"enum": [
|
|
"auto",
|
|
"force",
|
|
"force-aligned",
|
|
"force-expand-multiline"
|
|
]
|
|
},
|
|
"html.suggest.angular1": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "Configures if the built-in HTML language support suggests Angular V1 tags and properties."
|
|
},
|
|
"html.suggest.ionic": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "Configures if the built-in HTML language support suggests Ionic tags, properties and values."
|
|
},
|
|
"html.suggest.html5": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "Configures if the built-in HTML language support suggests HTML5 tags, properties and values."
|
|
},
|
|
"html.validate.scripts": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "Configures if the built-in HTML language support validates embedded scripts."
|
|
},
|
|
"html.validate.styles": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "Configures if the built-in HTML language support validates embedded styles."
|
|
},
|
|
"html.validate.html": {
|
|
"type": "boolean",
|
|
"scope": "resource",
|
|
"default": true,
|
|
"description": "Configures if the built-in HTML language support validates HTML."
|
|
},
|
|
"html.autoClosingTags": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable/disable autoClosing of HTML tags."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"author": "chemzqm@gmail.com",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/neoclide/coc-html.git"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^12.12.0",
|
|
"coc.nvim": "^0.0.80",
|
|
"rimraf": "^3.0.2",
|
|
"ts-loader": "^8.0.7",
|
|
"vscode-css-languageservice": "^5.0.0",
|
|
"vscode-html-languageservice": "^4.0.0",
|
|
"vscode-languageserver": "^7.0.0",
|
|
"vscode-languageserver-types": "3.15.1",
|
|
"vscode-uri": "^2.1.2",
|
|
"webpack": "^5.2.0",
|
|
"webpack-cli": "^4.1.0"
|
|
},
|
|
"dependencies": {
|
|
"typescript": "^4"
|
|
}
|
|
}
|