diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-04-13 12:35:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-13 12:35:52 +0100 |
commit | 784d1a9a622a0c30c26a17a835943593d036a4cd (patch) | |
tree | 0451624ea50fc92d6f8efbd9ef33484ccde2646f /ale_linters | |
parent | 6428162f792c4ed5905cc316b4099824c1af2fb2 (diff) | |
parent | 4b6691f602e8574fb41b8e63d8d95f7c0ecbb878 (diff) | |
download | ale-784d1a9a622a0c30c26a17a835943593d036a4cd.zip |
Merge pull request #2394 from harttle/master
feat: fecs support for js/html/css lint and format
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/css/fecs.vim | 9 | ||||
-rw-r--r-- | ale_linters/html/fecs.vim | 9 | ||||
-rw-r--r-- | ale_linters/javascript/fecs.vim | 10 |
3 files changed, 28 insertions, 0 deletions
diff --git a/ale_linters/css/fecs.vim b/ale_linters/css/fecs.vim new file mode 100644 index 00000000..511847c6 --- /dev/null +++ b/ale_linters/css/fecs.vim @@ -0,0 +1,9 @@ +" Author: harttle <yangjvn@126.com> +" Description: fecs for CSS files + +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..15e00e12 --- /dev/null +++ b/ale_linters/html/fecs.vim @@ -0,0 +1,9 @@ +" Author: harttle <yangjvn@126.com> +" Description: fecs for HTMl files + +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', +\}) |