diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-typescript.txt | 4 | ||||
-rw-r--r-- | doc/ale.txt | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/ale-typescript.txt b/doc/ale-typescript.txt index 0cb0a7c2..7dc59820 100644 --- a/doc/ale-typescript.txt +++ b/doc/ale-typescript.txt @@ -21,9 +21,11 @@ tslint *ale-typescript-tslint* This linter isn't recommended, because TSLint can't be used for checking for problems while you type. You should probably use the tsserver plugin instead. +tsserver plugins are described here: +https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin Follow the instructions on the plugin website for installing it: -https://github.com/angelozerr/tsserver-plugins +https://github.com/Microsoft/typescript-tslint-plugin Then disable TSLint in vimrc or any other Vim configuration file. > let g:ale_linters_ignore = {'typescript': ['tslint']} diff --git a/doc/ale.txt b/doc/ale.txt index d260b40e..5da95930 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1187,6 +1187,9 @@ b:ale_fix_on_save *b:ale_fix_on_save* after files are fixed, only when the buffer is open, or re-opened. Changes to the file will be saved to the file on disk. + Files will not be fixed on `:wq`, so you should check your code before + closing a buffer. + Fixing files can be disabled or enabled for individual buffers by setting `b:ale_fix_on_save` to `0` or `1`. @@ -1365,6 +1368,7 @@ g:ale_linter_aliases *g:ale_linter_aliases* \ 'systemverilog': 'verilog', \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'vimwiki': 'markdown', + \ 'vue': ['vue', 'javascript'], \ 'zsh': 'sh', \} < @@ -1422,6 +1426,7 @@ g:ale_linters *g:ale_linters* \ 'rust': ['cargo'], \ 'spec': [], \ 'text': [], + \ 'vue': ['eslint', 'vls'], \ 'zsh': ['shell'], \} < |