summaryrefslogtreecommitdiff
path: root/ale_linters/html
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-24 22:27:18 +0100
committerw0rp <devw0rp@gmail.com>2017-04-24 22:27:18 +0100
commita03121f5b051ed1f146a8979ea5d2bb26fe05bff (patch)
treedefbf1cd9c45af97667ec7ff47733a6cceca4207 /ale_linters/html
parentb4c0335ebceb5ba360a71dd3d0f10ec1d5807a83 (diff)
downloadale-a03121f5b051ed1f146a8979ea5d2bb26fe05bff.zip
Break shared handlers up into their own files, and fix stylelint error handling
Diffstat (limited to 'ale_linters/html')
-rw-r--r--ale_linters/html/htmlhint.vim2
-rw-r--r--ale_linters/html/proselint.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/html/htmlhint.vim b/ale_linters/html/htmlhint.vim
index 2edae372..ab1c6e02 100644
--- a/ale_linters/html/htmlhint.vim
+++ b/ale_linters/html/htmlhint.vim
@@ -28,5 +28,5 @@ call ale#linter#Define('html', {
\ 'name': 'htmlhint',
\ 'executable_callback': 'ale_linters#html#htmlhint#GetExecutable',
\ 'command_callback': 'ale_linters#html#htmlhint#GetCommand',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
+\ 'callback': 'ale#handlers#unix#HandleAsError',
\})
diff --git a/ale_linters/html/proselint.vim b/ale_linters/html/proselint.vim
index 50ab5e49..9fd7d671 100644
--- a/ale_linters/html/proselint.vim
+++ b/ale_linters/html/proselint.vim
@@ -5,5 +5,5 @@ call ale#linter#Define('html', {
\ 'name': 'proselint',
\ 'executable': 'proselint',
\ 'command': 'proselint %t',
-\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})