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.
This commit is contained in:
harttle
2019-03-26 20:40:51 +08:00
parent 4813165614
commit c820089c44
13 changed files with 199 additions and 0 deletions

12
ale_linters/html/fecs.vim Normal file
View File

@@ -0,0 +1,12 @@
" Author: harttle <yangjvn@126.com>
" Description: fecs for HTMl files
call ale#Set('html_fecs_executable', 'fecs')
call ale#Set('html_fecs_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('html', {
\ 'name': 'fecs',
\ 'executable': function('ale#handlers#fecs#GetExecutable'),
\ 'command': function('ale#handlers#fecs#GetCommand'),
\ 'callback': 'ale#handlers#fecs#Handle',
\})