Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neoclide/coc-emmet
Emmet extension for coc.nvim
https://github.com/neoclide/coc-emmet
coc emmet vim
Last synced: about 2 months ago
JSON representation
Emmet extension for coc.nvim
- Host: GitHub
- URL: https://github.com/neoclide/coc-emmet
- Owner: neoclide
- Created: 2018-12-08T19:57:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:28:42.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T17:40:58.998Z (5 months ago)
- Topics: coc, emmet, vim
- Language: TypeScript
- Size: 512 KB
- Stars: 177
- Watchers: 4
- Forks: 9
- Open Issues: 7
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# coc-emmet
Emmet completion support for [coc.nvim](https://github.com/neoclide/coc.nvim)
Fork of emmet extension from [VSCode](https://github.com/Microsoft/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:
```vim
:CocInstall coc-emmet
```## Usage
- `` and `` to choose a completion option
- `` to paste a picked completion## Options
You can set these properties on your `coc-settings.json` file to customize behavior.
| Property | Description | Default value |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
| `emmet.showExpandedAbbreviation` | Shows expanded Emmet abbreviations as suggestions. | `"always"` |
| `emmet.showAbbreviationSuggestions` | Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when `emmet.showExpandedAbbreviation` is `"never"`. | `true` |
| `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 snippets | `{}` |
| `emmet.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. | `["markdown"]` |
| `emmet.extensionsPath` | Path to a folder containing Emmet profiles and snippets. | `null` |
| `emmet.showSuggestionsAsSnippets` | Show Emmet completion items as snippet kind. | `true` |
| `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. | `true` |
| `emmet.priority` | Priority of Emmet completion source, change to `100` for higher priority than languageserver. | `3` |
| `emmet.preferences` | Preferences used to modify behavior of some actions and resolvers of Emmet. | `{}` |## LICENSE
MIT