3 Html language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).
5 Code changed from html extension of [VSCode](https://github.com/Microsoft/vscode/tree/master/extensions/html-language-features)
9 If you like this extension, consider supporting me on Patreon or PayPal:
11 <a href="https://www.patreon.com/chemzqm"><img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Patreon donate button" /> </a>
12 <a href="https://www.paypal.com/paypalme/chezqm"><img src="https://werwolv.net/assets/paypal_banner.png" alt="PayPal donate button" /> </a>
16 In your vim/neovim, run command:
26 - Document Symbols & Highlights
31 ## Configuration options
33 - *html.experimental.custom.tags*:
35 A list of JSON file paths that define custom tags.
37 - *html.experimental.custom.attributes*:
39 A list of JSON file paths that define custom attributes.
49 - *html.trace.server*:
53 Valid options: ["off","messages","verbose"]
57 default: `["html","handlebars","htmldjango","blade"]`
59 - *html.format.enable*:
61 Enable/disable default HTML formatter, default: `true`
63 - *html.format.wrapLineLength*:
65 Maximum amount of characters per line (0 = disable)., default: `120`
67 - *html.format.unformatted*:
69 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"`
71 - *html.format.contentUnformatted*:
73 List of tags, comma separated, where the content shouldn't be reformatted. 'null' defaults to the 'pre' tag., default: `"pre,code,textarea"`
75 - *html.format.indentInnerHtml*:
79 - *html.format.preserveNewLines*:
83 - *html.format.maxPreserveNewLines*:
85 List of tags, comma separated, that should have an extra newline before them. 'null', default: `null`
87 - *html.format.indentHandlebars*:
91 - *html.format.endWithNewline*:
95 - *html.format.extraLiners*:
97 List of tags, comma separated, that should have an extra newline before them., default: `"head, body, /html"`
99 - *html.format.wrapAttributes*:
103 Valid options: ["auto","force","force-aligned","force-expand-multiline"]
105 - *html.suggest.angular1*:
107 Configures if the built-in HTML language support suggests Angular V1 tags and properties., default: `true`
109 - *html.suggest.ionic*:
111 Configures if the built-in HTML language support suggests Ionic tags, properties and values., default: `true`
113 - *html.suggest.html5*:
115 Configures if the built-in HTML language support suggests HTML5 tags, properties and values., default: `true`
117 - *html.validate.scripts*:
119 Configures if the built-in HTML language support validates embedded scripts., default: `true`
121 - *html.validate.styles*:
123 Configures if the built-in HTML language support validates embedded styles., default: `true`
125 - *html.validate.html*:
127 Configures if the built-in HTML language support validates HTML., default: `true`
129 - *html.autoClosingTags*:
131 Enable/disable autoClosing of HTML tags., default: `false`
133 Trigger completion in `coc-settings.json` for complete list.