summaryrefslogtreecommitdiff
path: root/ale_linters/haml
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-07 15:34:39 +0100
committerw0rp <devw0rp@gmail.com>2019-04-07 15:34:39 +0100
commite85eb824016a0ca4217d41cc2ec603ff22a3b74d (patch)
tree46e5ffc641820d765bc5c8898fe56154b23e9eeb /ale_linters/haml
parent3bebcb5d48a7150f5a318952ee309acb67fb376d (diff)
downloadale-e85eb824016a0ca4217d41cc2ec603ff22a3b74d.zip
#2132 - Implement feature tests with ale#Has
Diffstat (limited to 'ale_linters/haml')
-rw-r--r--ale_linters/haml/hamllint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/haml/hamllint.vim b/ale_linters/haml/hamllint.vim
index 7d7278aa..9fcd999f 100644
--- a/ale_linters/haml/hamllint.vim
+++ b/ale_linters/haml/hamllint.vim
@@ -19,7 +19,7 @@ function! ale_linters#haml#hamllint#GetCommand(buffer) abort
" See https://github.com/brigade/haml-lint/blob/master/lib/haml_lint/linter/rubocop.rb#L89
" HamlLint::Linter::RuboCop#rubocop_flags
if !empty(l:rubocop_config_file_path)
- if ale#Has('win32')
+ if has('win32')
let l:prefix = 'set HAML_LINT_RUBOCOP_CONF=' . ale#Escape(l:rubocop_config_file_path) . ' &&'
else
let l:prefix = 'HAML_LINT_RUBOCOP_CONF=' . ale#Escape(l:rubocop_config_file_path)