summaryrefslogtreecommitdiff
path: root/ale_linters/coffee
diff options
context:
space:
mode:
authorKabbaj Amine <amine.kabb@gmail.com>2016-10-08 18:52:23 +0300
committerKabbaj Amine <amine.kabb@gmail.com>2016-10-08 18:52:23 +0300
commit5eb710635950ed2373c916149865c013710fbff9 (patch)
tree88d1d81e979e7d18045ab2babd4f5db0fc92b777 /ale_linters/coffee
parent85d8d2f217ddbf8b02d1ef5dd181f3cc44bb1f00 (diff)
downloadale-5eb710635950ed2373c916149865c013710fbff9.zip
Add coffee linter
Diffstat (limited to 'ale_linters/coffee')
-rw-r--r--ale_linters/coffee/coffee.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/ale_linters/coffee/coffee.vim b/ale_linters/coffee/coffee.vim
new file mode 100644
index 00000000..a19017c6
--- /dev/null
+++ b/ale_linters/coffee/coffee.vim
@@ -0,0 +1,17 @@
+" Author: KabbAmine - https://github.com/KabbAmine
+" Description: Coffee for checking coffee files
+
+if exists('g:loaded_ale_linters_coffee_coffee')
+ finish
+endif
+
+let g:loaded_ale_linters_coffee_coffee = 1
+
+call ALEAddLinter('coffee', {
+\ 'name': 'coffee',
+\ 'executable': 'coffee',
+\ 'command': 'coffee -cp -s',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#HandleGCCFormat',
+\})
+