coc-emmet
chemzqmemmet extension for coc
Published Package Summary
coc-emmet
Emmet completion support for coc.nvim
Fork of emmet extension from VSCode with only completion support.
Note: this. extension does completion support for emmet only, you should use https://github.com/mattn/emmet-vim
Install
In your vim/neovim, run command:
:CocInstall coc-emmet
Options
emmet.showExpandedAbbreviation: Shows expanded Emmet abbreviations as suggestions, defaulttrue.emmet.showAbbreviationSuggestions: Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is 'never'.emmet.includeLanguages: Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language. E.g.:{"vue-html": "html", "javascript": "javascriptreact"}emmet.variables: Variables to be used in Emmet snippetsemmet.syntaxProfiles: Define profile for specified syntax or use your own profile with specific rules.emmet.excludeLanguages: An array of languages where Emmet abbreviations should not be expanded, default:["markdown"].emmet.optimizeStylesheetParsing: When set tofalse, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set totrue, only the content around the current position in css/scss/less files is parsed.emmet.preferences: Preferences used to modify behavior of some actions and resolvers of Emmet.
LICENSE
MIT
- emmet extension for coc
- *
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-emmet@1.1.6.
This package does not declare any contributed commands.
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
Raw JSON Schema
{
"type": "integer",
"default": 3
}Raw JSON Schema
{
"type": "object",
"default": {},
"properties": {
"lang": {
"type": "string",
"default": "en"
},
"charset": {
"type": "string",
"default": "UTF-8"
}
},
"description": "Variables to be used in Emmet snippets"
}Raw JSON Schema
{
"type": "object",
"default": {},
"properties": {
"css.intUnit": {
"type": "string",
"default": "px"
},
"css.floatUnit": {
"type": "string",
"default": "em"
},
"css.propertyEnd": {
"type": "string",
"default": ";"
},
"sass.propertyEnd": {
"type": "string",
"default": ""
},
"css.valueSeparator": {
"type": "string",
"default": ": "
},
"stylus.propertyEnd": {
"type": "string",
"default": ""
},
"filter.commentAfter": {
"type": "string",
"default": "\n<!-- /[#ID][.CLASS] -->"
},
"format.noIndentTags": {
"type": "array",
"default": [
"html"
]
},
"sass.valueSeparator": {
"type": "string",
"default": ": "
},
"bem.elementSeparator": {
"type": "string",
"default": "__"
},
"filter.commentBefore": {
"type": "string",
"default": ""
},
"bem.modifierSeparator": {
"type": "string",
"default": "_"
},
"filter.commentTrigger": {
"type": "array",
"default": [
"id",
"class"
]
},
"stylus.valueSeparator": {
"type": "string",
"default": " "
},
"css.fuzzySearchMinScore": {
"type": "number",
"default": 0.3
},
"profile.allowCompactBoolean": {
"type": "boolean",
"default": false
},
"format.forceIndentationForTags": {
"type": "array",
"default": [
"body"
]
}
},
"description": "Preferences used to modify behavior of some actions and resolvers of Emmet."
}Raw JSON Schema
{
"type": "string",
"default": null,
"description": "Path to a folder containing Emmet profiles and snippets."
}Raw JSON Schema
{
"type": "object",
"default": {},
"description": "Define profile for specified syntax or use your own profile with specific rules."
}Raw JSON Schema
{
"type": "array",
"default": [
"markdown"
],
"description": "An array of languages where Emmet abbreviations should not be expanded."
}Raw JSON Schema
{
"type": "object",
"default": {},
"markdownDescription": "Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and emmet supported language. E.g.: `{\"vue-html\": \"html\", \"javascript\": \"javascriptreact\"}`"
}Raw JSON Schema
{
"enum": [
"never",
"always",
"inMarkupAndStylesheetFilesOnly"
],
"type": [
"string"
],
"default": "always",
"markdownDescription": "Shows expanded Emmet abbreviations as suggestions."
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"markdownDescription": "When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in css/scss/less files is parsed."
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"markdownDescription": "Show emmet completion items as snippet kind."
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"markdownDescription": "Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is 'never'."
}