{"id":13600709,"url":"https://github.com/neoclide/coc-html","last_synced_at":"2025-04-05T20:09:07.364Z","repository":{"id":41168824,"uuid":"147623016","full_name":"neoclide/coc-html","owner":"neoclide","description":"Html language server extension for coc.nvim.","archived":false,"fork":false,"pushed_at":"2022-11-03T15:12:30.000Z","size":283,"stargazers_count":206,"open_issues_count":4,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-24T02:01:49.280Z","etag":null,"topics":["coc","html-extension","neovim","vim"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neoclide.png","metadata":{"files":{"readme":"Readme.md","changelog":"history.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"chemzqm","custom":"https://www.paypal.com/paypalme/chezqm"}},"created_at":"2018-09-06T05:37:22.000Z","updated_at":"2024-03-05T10:58:15.000Z","dependencies_parsed_at":"2022-07-14T09:22:20.200Z","dependency_job_id":null,"html_url":"https://github.com/neoclide/coc-html","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neoclide","download_url":"https://codeload.github.com/neoclide/coc-html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393572,"owners_count":20931813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coc","html-extension","neovim","vim"],"created_at":"2024-08-01T18:00:47.045Z","updated_at":"2025-04-05T20:09:07.346Z","avatar_url":"https://github.com/neoclide.png","language":"TypeScript","funding_links":["https://patreon.com/chemzqm","https://www.paypal.com/paypalme/chezqm","https://www.patreon.com/chemzqm"],"categories":["TypeScript","Language Support","Plugins / Themes / Dependencies"],"sub_categories":[],"readme":"# coc-html\n\nHtml language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).\n\nCode changed from html extension of [VSCode](https://github.com/Microsoft/vscode/tree/master/extensions/html-language-features)\n\n## Supporting\n\nIf you like this extension, consider supporting me on Patreon or PayPal:\n\n\u003ca href=\"https://www.patreon.com/chemzqm\"\u003e\u003cimg src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" alt=\"Patreon donate button\" /\u003e \u003c/a\u003e\n\u003ca href=\"https://www.paypal.com/paypalme/chezqm\"\u003e\u003cimg src=\"https://werwolv.net/assets/paypal_banner.png\" alt=\"PayPal donate button\" /\u003e \u003c/a\u003e\n\n## Install\n\nIn your vim/neovim, run command:\n\n```\n:CocInstall coc-html\n```\n\n## Features\n\n- Completion provider\n- Formatting\n- Document Symbols \u0026 Highlights\n- Document Links\n- CSS mode\n- Javascript mode\n\n## Configuration options\n\nCheckout `:h coc-configuration` for how to use configurations with coc.nvim.\n\n- `html.execArgv`:  default: `[]`\n- `html.filetypes`:  default: `[\"html\",\"handlebars\",\"htmldjango\",\"blade\"]`\n- `html.customData`:  default: `[]`\n- `html.completion.attributeDefaultValue`: Controls the default value for attributes when completion is accepted  default: `\"doublequotes\"`\n    Valid options: [\"doublequotes\",\"singlequotes\",\"empty\"]\n- `html.format.enable`: Enable/disable default HTML formatter  default: `true`\n- `html.format.wrapLineLength`: Maximum amount of characters per line (0 = disable)  default: `120`\n- `html.format.unformatted`: List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content  default: `\"wbr\"`\n- `html.format.contentUnformatted`: List of tags, comma separated, where the content shouldn't be reformatted. 'null' defaults to the 'pre' tag  default: `\"pre,code,textarea\"`\n- `html.format.indentInnerHtml`:  default: `false`\n- `html.format.preserveNewLines`: Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text  default: `true`\n- `html.format.maxPreserveNewLines`:  default: `null`\n- `html.format.indentHandlebars`:  default: `false`\n- `html.format.extraLiners`:  default: `\"head, body, /html\"`\n- `html.format.wrapAttributes`: Wrap attributes  default: `\"auto\"`\n    Valid options: [\"auto\",\"force\",\"force-aligned\",\"force-expand-multiline\",\"aligned-multiple\",\"preserve\",\"preserve-aligned\"]\n- `html.format.wrapAttributesIndentSize`:  default: `null`\n- `html.format.templating`: Honor django, erb, handlebars and php templating language tags  default: `false`\n- `html.format.unformattedContentDelimiter`:  default: `\"\"`\n- `html.suggest.html5`: Configures if the built-in HTML language support suggests HTML5 tags, properties and values  default: `true`\n- `html.validate.scripts`: Configures if the built-in HTML language support validates embedded scripts  default: `true`\n- `html.validate.styles`: Configures if the built-in HTML language support validates embedded styles  default: `true`\n- `html.autoClosingTags`: Enable/disable autoClosing of HTML tags  default: `true`\n- `html.autoCreateQuotes`: Enable/disable auto creation of quotes for HTML attribute assignment.  default: `true`\n- `html.hover.documentation`: Show tag and attribute documentation in hover  default: `true`\n- `html.hover.references`: Show references to MDN in hover  default: `true`\n- `html.trace.server`: Traces the communication between coc.nvim and the HTML language server  default: `\"off\"`\n    Valid options: [\"off\",\"messages\",\"verbose\"]\n\nTrigger completion in `coc-settings.json` for complete list.\n\n## F.A.Q\n\nQ: I can't select the complete item by `\u003cC-n\u003e` and `\u003cC-p\u003e`\n\nA: Some completion item requires insert position after current cursor position\nwhich is invalid for `\u003cC-n\u003e` and `\u003cC-p\u003e` on vim, you can use `\u003cup\u003e` and `\u003cdown\u003e`\nkey for selection, or use api `coc#_select_confirm()` to select and confirm\nselection which is recommended.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoclide%2Fcoc-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneoclide%2Fcoc-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoclide%2Fcoc-html/lists"}