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