2017-03-28 22:25:44 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE HTML Integration *ale-html-options*
|
|
|
|
|
|
|
|
|
2021-03-14 21:10:05 +00:00
|
|
|
===============================================================================
|
|
|
|
angular *ale-html-angular*
|
|
|
|
|
|
|
|
ALE supports language server features for Angular. You can install it via `npm`: >
|
|
|
|
|
|
|
|
$ npm install --save-dev @angular/language-server
|
|
|
|
<
|
|
|
|
Angular 11 and up are supported.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_html_angular_executable *g:ale_html_angular_executable*
|
|
|
|
*b:ale_html_angular_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'ngserver'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_html_angular_use_global *g:ale_html_angular_use_global*
|
|
|
|
*b:ale_html_angular_use_global*
|
|
|
|
Type: |String|
|
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2021-11-18 22:41:05 +00:00
|
|
|
===============================================================================
|
|
|
|
cspell *ale-html-cspell*
|
|
|
|
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
2019-03-26 12:40:51 +00:00
|
|
|
===============================================================================
|
|
|
|
fecs *ale-html-fecs*
|
|
|
|
|
2021-03-14 21:10:05 +00:00
|
|
|
`fecs` options for HTML are the same as the options for JavaScript, and both
|
|
|
|
of them read `./.fecsrc` as the default configuration file.
|
|
|
|
|
2019-03-26 12:40:51 +00:00
|
|
|
See: |ale-javascript-fecs|.
|
|
|
|
|
2021-03-14 21:10:05 +00:00
|
|
|
|
2019-10-28 13:25:36 +00:00
|
|
|
===============================================================================
|
|
|
|
html-beautify *ale-html-beautify*
|
|
|
|
|
2022-09-30 10:24:32 +00:00
|
|
|
g:ale_html_beautify_executable *g:ale_html_beautify_executable*
|
|
|
|
*b:ale_html_beautify_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'html-beautify'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2019-10-28 13:25:36 +00:00
|
|
|
g:ale_html_beautify_options *g:ale_html_beautify_options*
|
|
|
|
*b:ale_html_beautify_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to html-beautify.
|
|
|
|
|
2019-03-26 12:40:51 +00:00
|
|
|
|
2022-09-30 10:24:32 +00:00
|
|
|
g:ale_html_beautify_use_global *g:ale_html_beautify_use_global*
|
|
|
|
*b:ale_html_beautify_use_global*
|
|
|
|
Type: |String|
|
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-03-28 22:25:44 +00:00
|
|
|
htmlhint *ale-html-htmlhint*
|
|
|
|
|
|
|
|
g:ale_html_htmlhint_executable *g:ale_html_htmlhint_executable*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_html_htmlhint_executable*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `'htmlhint'`
|
|
|
|
|
2017-06-18 10:03:31 +00:00
|
|
|
See |ale-integrations-local-executables|
|
2017-03-28 22:25:44 +00:00
|
|
|
|
2017-06-18 10:03:31 +00:00
|
|
|
|
|
|
|
g:ale_html_htmlhint_options *g:ale_html_htmlhint_options*
|
|
|
|
*b:ale_html_htmlhint_options*
|
|
|
|
Type: |String|
|
2018-01-28 12:44:42 +00:00
|
|
|
Default: `''`
|
2017-06-18 10:03:31 +00:00
|
|
|
|
|
|
|
This variable can be changed to modify flags given to HTMLHint.
|
2017-03-28 22:25:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
g:ale_html_htmlhint_use_global *g:ale_html_htmlhint_use_global*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_html_htmlhint_use_global*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
2018-04-09 18:11:20 +00:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2017-03-28 22:25:44 +00:00
|
|
|
|
2017-06-18 10:03:31 +00:00
|
|
|
See |ale-integrations-local-executables|
|
2017-03-28 22:25:44 +00:00
|
|
|
|
|
|
|
|
2021-03-14 21:10:05 +00:00
|
|
|
===============================================================================
|
|
|
|
prettier *ale-html-prettier*
|
|
|
|
|
|
|
|
See |ale-javascript-prettier| for information about the available options.
|
|
|
|
|
|
|
|
|
2023-03-26 06:38:24 +00:00
|
|
|
===============================================================================
|
|
|
|
rustywind *ale-html-rustywind*
|
|
|
|
|
|
|
|
g:ale_html_rustywind_executable *g:ale_html_rustywind_executable*
|
|
|
|
*b:ale_html_rustywind_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'rustywind'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_html_rustywind_options *g:ale_html_rustywind_options*
|
|
|
|
*b:ale_html_rustywind_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to rustywind.
|
|
|
|
|
|
|
|
|
2021-03-14 21:10:05 +00:00
|
|
|
===============================================================================
|
|
|
|
stylelint *ale-html-stylelint*
|
|
|
|
|
|
|
|
g:ale_html_stylelint_executable *g:ale_html_stylelint_executable*
|
|
|
|
*b:ale_html_stylelint_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'stylelint'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_html_stylelint_options *g:ale_html_stylelint_options*
|
|
|
|
*b:ale_html_stylelint_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to stylelint.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_html_stylelint_use_global *g:ale_html_stylelint_use_global*
|
|
|
|
*b:ale_html_stylelint_use_global*
|
|
|
|
Type: |String|
|
|
|
|
Default: `0`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-03-28 22:25:44 +00:00
|
|
|
tidy *ale-html-tidy*
|
|
|
|
|
2018-01-06 10:58:10 +00:00
|
|
|
`tidy` is a console application which corrects and cleans up HTML and XML
|
|
|
|
documents by fixing markup errors and upgrading legacy code to modern
|
|
|
|
standards.
|
|
|
|
|
|
|
|
Note:
|
|
|
|
`/usr/bin/tidy` on macOS (installed by default) is too old. It was released
|
|
|
|
on 31 Oct 2006. It does not consider modern HTML specs (HTML5) and shows
|
|
|
|
outdated warnings. So |ale| ignores `/usr/bin/tidy` on macOS.
|
|
|
|
|
|
|
|
To use `tidy` on macOS, please install the latest version with Homebrew:
|
|
|
|
>
|
|
|
|
$ brew install tidy-html5
|
|
|
|
<
|
|
|
|
`/usr/local/bin/tidy` is installed.
|
|
|
|
|
2017-03-28 22:25:44 +00:00
|
|
|
g:ale_html_tidy_executable *g:ale_html_tidy_executable*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_html_tidy_executable*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `'tidy'`
|
|
|
|
|
|
|
|
This variable can be changed to change the path to tidy.
|
|
|
|
|
|
|
|
|
2017-04-15 12:35:54 +00:00
|
|
|
g:ale_html_tidy_options *g:ale_html_tidy_options*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_html_tidy_options*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `'-q -e -language en'`
|
|
|
|
|
|
|
|
This variable can be changed to change the arguments provided to the
|
|
|
|
executable.
|
|
|
|
|
|
|
|
ALE will attempt to automatically detect the appropriate file encoding to
|
|
|
|
provide to html-tidy, and fall back to UTF-8 when encoding detection fails.
|
|
|
|
|
|
|
|
The recognized file encodings are as follows: ascii, big5, cp1252 (win1252),
|
|
|
|
cp850 (ibm858), cp932 (shiftjis), iso-2022-jp (iso-2022), latin1, macroman
|
|
|
|
(mac), sjis (shiftjis), utf-16le, utf-16, utf-8
|
|
|
|
|
|
|
|
|
2018-06-23 10:10:28 +00:00
|
|
|
g:ale_html_tidy_use_global *g:html_tidy_use_global*
|
|
|
|
|
|
|
|
Type: |Number|
|
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2022-05-02 10:42:24 +00:00
|
|
|
===============================================================================
|
|
|
|
vscodehtml *ale-html-vscode*
|
|
|
|
|
|
|
|
Website: https://github.com/hrsh7th/vscode-langservers-extracted
|
|
|
|
|
|
|
|
Installation
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install VSCode html language server either globally or locally: >
|
|
|
|
|
|
|
|
npm install -g vscode-langservers-extracted
|
|
|
|
<
|
|
|
|
|
2018-08-24 12:24:42 +00:00
|
|
|
===============================================================================
|
|
|
|
write-good *ale-html-write-good*
|
|
|
|
|
|
|
|
See |ale-write-good-options|
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-03-28 22:25:44 +00:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|