diff options
author | w0rp <devw0rp@gmail.com> | 2019-04-07 15:34:39 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-04-07 15:34:39 +0100 |
commit | e85eb824016a0ca4217d41cc2ec603ff22a3b74d (patch) | |
tree | 46e5ffc641820d765bc5c8898fe56154b23e9eeb /ale_linters/slim/slimlint.vim | |
parent | 3bebcb5d48a7150f5a318952ee309acb67fb376d (diff) | |
download | ale-e85eb824016a0ca4217d41cc2ec603ff22a3b74d.zip |
#2132 - Implement feature tests with ale#Has
Diffstat (limited to 'ale_linters/slim/slimlint.vim')
-rw-r--r-- | ale_linters/slim/slimlint.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/slim/slimlint.vim b/ale_linters/slim/slimlint.vim index 1a4008ae..1b365e25 100644 --- a/ale_linters/slim/slimlint.vim +++ b/ale_linters/slim/slimlint.vim @@ -11,7 +11,7 @@ function! ale_linters#slim#slimlint#GetCommand(buffer) abort " " See https://github.com/sds/slim-lint/blob/master/lib/slim_lint/linter/README.md#rubocop if !empty(l:rubocop_config) - if ale#Has('win32') + if has('win32') let l:command = 'set SLIM_LINT_RUBOCOP_CONF=' . ale#Escape(l:rubocop_config) . ' && ' . l:command else let l:command = 'SLIM_LINT_RUBOCOP_CONF=' . ale#Escape(l:rubocop_config) . ' ' . l:command |