Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-html / Readme.md
1 # coc-html
2
3 Html language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).
4
5 Code changed from html extension of [VSCode](https://github.com/Microsoft/vscode/tree/master/extensions/html-language-features)
6
7 ## Install
8
9 In your vim/neovim, run command:
10
11 ```
12 :CocInstall coc-html
13 ```
14
15 ## Features
16
17 - Completion provider
18 - Formatting
19 - Document Symbols & Highlights
20 - Document Links
21 - CSS mode
22 - Javascript mode
23
24 ## Configuration options
25
26 - *html.experimental.custom.tags*:
27
28         A list of JSON file paths that define custom tags.
29
30 - *html.experimental.custom.attributes*:
31
32         A list of JSON file paths that define custom attributes.
33
34 - *html.enable*:
35
36          default: `true`
37
38 - *html.execArgv*:
39
40          default: `[]`
41
42 - *html.trace.server*:
43
44          default: `"off"`
45
46         Valid options: ["off","messages","verbose"]
47
48 - *html.filetypes*:
49
50          default: `["html","handlebars","htmldjango","blade"]`
51
52 - *html.format.enable*:
53
54         Enable/disable default HTML formatter,  default: `true`
55
56 - *html.format.wrapLineLength*:
57
58         Maximum amount of characters per line (0 = disable).,  default: `120`
59
60 - *html.format.unformatted*:
61
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"`
63
64 - *html.format.contentUnformatted*:
65
66         List of tags, comma separated, where the content shouldn't be reformatted. 'null' defaults to the 'pre' tag.,  default: `"pre,code,textarea"`
67
68 - *html.format.indentInnerHtml*:
69
70          default: `false`
71
72 - *html.format.preserveNewLines*:
73
74          default: `true`
75
76 - *html.format.maxPreserveNewLines*:
77
78         List of tags, comma separated, that should have an extra newline before them. 'null',  default: `null`
79
80 - *html.format.indentHandlebars*:
81
82          default: `false`
83
84 - *html.format.endWithNewline*:
85
86          default: `false`
87
88 - *html.format.extraLiners*:
89
90         List of tags, comma separated, that should have an extra newline before them.,  default: `"head, body, /html"`
91
92 - *html.format.wrapAttributes*:
93
94          default: `"auto"`
95
96         Valid options: ["auto","force","force-aligned","force-expand-multiline"]
97
98 - *html.suggest.angular1*:
99
100         Configures if the built-in HTML language support suggests Angular V1 tags and properties.,  default: `true`
101
102 - *html.suggest.ionic*:
103
104         Configures if the built-in HTML language support suggests Ionic tags, properties and values.,  default: `true`
105
106 - *html.suggest.html5*:
107
108         Configures if the built-in HTML language support suggests HTML5 tags, properties and values.,  default: `true`
109
110 - *html.validate.scripts*:
111
112         Configures if the built-in HTML language support validates embedded scripts.,  default: `true`
113
114 - *html.validate.styles*:
115
116         Configures if the built-in HTML language support validates embedded styles.,  default: `true`
117
118 - *html.validate.html*:
119
120         Configures if the built-in HTML language support validates HTML.,  default: `true`
121
122 - *html.autoClosingTags*:
123
124         Enable/disable autoClosing of HTML tags.,  default: `false`
125
126 Trigger completion in `coc-settings.json` for complete list.
127
128 ## License
129
130 MIT