diff options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/css/fecs.vim | 12 | ||||
-rw-r--r-- | ale_linters/html/fecs.vim | 12 | ||||
-rw-r--r-- | ale_linters/javascript/fecs.vim | 10 |
3 files changed, 34 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', +\}) diff --git a/ale_linters/html/fecs.vim b/ale_linters/html/fecs.vim new file mode 100644 index 00000000..5a49a6d8 --- /dev/null +++ b/ale_linters/html/fecs.vim @@ -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', +\}) diff --git a/ale_linters/javascript/fecs.vim b/ale_linters/javascript/fecs.vim new file mode 100644 index 00000000..e47c0a0b --- /dev/null +++ b/ale_linters/javascript/fecs.vim @@ -0,0 +1,10 @@ +" Author: harttle <yangjvn@126.com> +" Description: fecs for JavaScript files + +call ale#linter#Define('javascript', { +\ 'name': 'fecs', +\ 'executable': function('ale#handlers#fecs#GetExecutable'), +\ 'command': function('ale#handlers#fecs#GetCommand'), +\ 'read_buffer': 0, +\ 'callback': 'ale#handlers#fecs#Handle', +\}) |