Home

Awesome

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

Usage

Options

You can set these properties on your coc-settings.json file to customize behavior.

PropertyDescriptionDefault value
emmet.showExpandedAbbreviationShows expanded Emmet abbreviations as suggestions."always"
emmet.showAbbreviationSuggestionsShows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is "never".true
emmet.includeLanguagesEnable 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.variablesVariables to be used in Emmet snippets{}
emmet.syntaxProfilesDefine profile for specified syntax or use your own profile with specific rules.{}
emmet.excludeLanguagesAn array of languages where Emmet abbreviations should not be expanded.["markdown"]
emmet.extensionsPathPath to a folder containing Emmet profiles and snippets.null
emmet.showSuggestionsAsSnippetsShow Emmet completion items as snippet kind.true
emmet.optimizeStylesheetParsingWhen 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.true
emmet.priorityPriority of Emmet completion source, change to 100 for higher priority than languageserver.3
emmet.preferencesPreferences used to modify behavior of some actions and resolvers of Emmet.{}

LICENSE

MIT