From c820089c4434b621e8b30fbe73bbf9d01ee44f6f Mon Sep 17 00:00:00 2001 From: harttle Date: Tue, 26 Mar 2019 20:40:51 +0800 Subject: 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. --- ale_linters/css/fecs.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ale_linters/css/fecs.vim (limited to 'ale_linters/css/fecs.vim') 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 +" 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', +\}) -- cgit v1.2.3