diff options
author | harttle <yangjvn@126.com> | 2019-03-26 20:40:51 +0800 |
---|---|---|
committer | harttle <yangjvn@126.com> | 2019-04-11 16:24:58 +0800 |
commit | c820089c4434b621e8b30fbe73bbf9d01ee44f6f (patch) | |
tree | deff31ecaa7e2db9cde4cb791d1c47f4be55bc3c /ale_linters/css | |
parent | 481316561445a4048a96a2c6bd41e9b623d8919f (diff) | |
download | ale-c820089c4434b621e8b30fbe73bbf9d01ee44f6f.zip |
feat: fecs support for js/html/css lint and format
`fecs` is a lint tool for HTML/CSS/JavaScript,
see http://fecs.baidu.com for more options.
Diffstat (limited to 'ale_linters/css')
-rw-r--r-- | ale_linters/css/fecs.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ale_linters/css/fecs.vim b/ale_linters/css/fecs.vim new file mode 100644 index 00000000..4b54d55a --- /dev/null +++ b/ale_linters/css/fecs.vim @@ -0,0 +1,12 @@ +" Author: harttle <yangjvn@126.com> +" Description: fecs for CSS files + +call ale#Set('css_fecs_executable', 'fecs') +call ale#Set('css_fecs_use_global', get(g:, 'ale_use_global_executables', 0)) + +call ale#linter#Define('css', { +\ 'name': 'fecs', +\ 'executable': function('ale#handlers#fecs#GetExecutable'), +\ 'command': function('ale#handlers#fecs#GetCommand'), +\ 'callback': 'ale#handlers#fecs#Handle', +\}) |