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 In your vim/neovim, run command:
19 - Document Symbols & Highlights
24 ## Configuration options
26 - *html.experimental.custom.tags*:
28 A list of JSON file paths that define custom tags.
30 - *html.experimental.custom.attributes*:
32 A list of JSON file paths that define custom attributes.
42 - *html.trace.server*:
46 Valid options: ["off","messages","verbose"]
50 default: `["html","handlebars","htmldjango","blade"]`
52 - *html.format.enable*:
54 Enable/disable default HTML formatter, default: `true`
56 - *html.format.wrapLineLength*:
58 Maximum amount of characters per line (0 = disable)., default: `120`
60 - *html.format.unformatted*:
62 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"`
64 - *html.format.contentUnformatted*:
66 List of tags, comma separated, where the content shouldn't be reformatted. 'null' defaults to the 'pre' tag., default: `"pre,code,textarea"`
68 - *html.format.indentInnerHtml*:
72 - *html.format.preserveNewLines*:
76 - *html.format.maxPreserveNewLines*:
78 List of tags, comma separated, that should have an extra newline before them. 'null', default: `null`
80 - *html.format.indentHandlebars*:
84 - *html.format.endWithNewline*:
88 - *html.format.extraLiners*:
90 List of tags, comma separated, that should have an extra newline before them., default: `"head, body, /html"`
92 - *html.format.wrapAttributes*:
96 Valid options: ["auto","force","force-aligned","force-expand-multiline"]
98 - *html.suggest.angular1*:
100 Configures if the built-in HTML language support suggests Angular V1 tags and properties., default: `true`
102 - *html.suggest.ionic*:
104 Configures if the built-in HTML language support suggests Ionic tags, properties and values., default: `true`
106 - *html.suggest.html5*:
108 Configures if the built-in HTML language support suggests HTML5 tags, properties and values., default: `true`
110 - *html.validate.scripts*:
112 Configures if the built-in HTML language support validates embedded scripts., default: `true`
114 - *html.validate.styles*:
116 Configures if the built-in HTML language support validates embedded styles., default: `true`
118 - *html.validate.html*:
120 Configures if the built-in HTML language support validates HTML., default: `true`
122 - *html.autoClosingTags*:
124 Enable/disable autoClosing of HTML tags., default: `false`
126 Trigger completion in `coc-settings.json` for complete list.