New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

coc-html-css-support

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coc-html-css-support

HTML id and class attribute completion for coc.nvim

latest
Source
npmnpm
Version
0.5.3
Version published
Maintainers
1
Created
Source

coc-html-css-support

fork from a ecmel/vscode-html-css | HTML CSS Support

HTML id and class attribute "completion" for coc.nvim.

coc-html-css-support-demo

Install

:CocInstall coc-html-css-support

Features

  • HTML id and class attribute completion.
  • Supports linked and embedded style sheets.
  • Supports template inheritance.
  • Supports additional style sheets.
  • Supports other HTML like languages.
  • Command to make html.customData built-in in coc-html-css-support available at the workspace level.

Configuration options

  • html-css-support.enable: Enable coc-html-css-support extension, default: true
  • html-css-support.enabledLanguages: List of languages which suggestions are desired, default: ["html"]
  • html-css-support.styleSheets: List of local or remote style sheets for suggestions, default: []

Commands

  • html-css-support.dispose: Clear cache and reload the stylesheet
  • html-css-support.customDataSetup: Setup html.customData in workspace config. Supported customData are as follows
    • Alpine.js
    • petite-vue

Example settings

Additional Style Sheets (Example)

coc-settings.json:

{
    "html-css-support.styleSheets": [
        "https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css",
        "/style.css",
        "style.css"
    ]
}

Add other HTML like languages (Example)

coc-settings.json:

{
    "html-css-support.enabledLanguages": [
        "html",
        "vue",
        "blade",
        "htmldjango",
        "typescriptreact",
        "javascriptreact"
    ]
}

What is customData?

You can read more about customData in the following repositories.

Thanks

License

MIT

This extension is built with create-coc-extension

Keywords

coc.nvim

FAQs

Package last updated on 17 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts