My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Readme.md 1.4 KiB

4 years ago
1234567891011121314151617181920212223242526272829
  1. # coc-emmet
  2. Emmet completion support for [coc.nvim](https://github.com/neoclide/coc.nvim)
  3. Fork of emmet extension from [VSCode](https://github.com/Microsoft/vscode) with
  4. only completion support.
  5. ## Install
  6. In your vim/neovim, run command:
  7. ```vim
  8. :CocInstall coc-emmet
  9. ```
  10. ## Options
  11. - `emmet.showExpandedAbbreviation`: Shows expanded Emmet abbreviations as suggestions, default `true`.
  12. - `emmet.showAbbreviationSuggestions`: Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is 'never'.
  13. - `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"}`
  14. - `emmet.variables`: Variables to be used in Emmet snippets
  15. - `emmet.syntaxProfiles`: Define profile for specified syntax or use your own profile with specific rules.
  16. - `emmet.excludeLanguages`: An array of languages where Emmet abbreviations should not be expanded, default: `["markdown"]`.
  17. - `emmet.optimizeStylesheetParsing`: 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.
  18. - `emmet.preferences`: Preferences used to modify behavior of some actions and resolvers of Emmet.
  19. ## LICENSE
  20. MIT