summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2016-10-08 16:56:03 +0100
committerGitHub <noreply@github.com>2016-10-08 16:56:03 +0100
commit1044c8af0a19feab145c1d1f8aa7afd07b7be556 (patch)
tree30727b22e383b1096ba818d0d623a20857d8d731 /ale_linters
parentecde32d9ec31fa92bd17edc22b998b02d0c05beb (diff)
parent5eb710635950ed2373c916149865c013710fbff9 (diff)
downloadale-1044c8af0a19feab145c1d1f8aa7afd07b7be556.zip
Merge pull request #68 from KabbAmine/linter-coffee
Add coffee linter
Diffstat (limited to 'ale_linters')
-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',
+\})
+