From 5a1ebdb633fd72f802923d35c1665096625208d5 Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Mon, 18 Sep 2017 12:28:37 +0200 Subject: fix typo `RUBUCOP` --> `RUBOCOP` for slim lint this actually makes 6ebd8f355c974cb6b7c5d5aff20603c8c4b38feb work --- ale_linters/slim/slimlint.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ale_linters/slim/slimlint.vim') diff --git a/ale_linters/slim/slimlint.vim b/ale_linters/slim/slimlint.vim index 0a98a52d..bb62c731 100644 --- a/ale_linters/slim/slimlint.vim +++ b/ale_linters/slim/slimlint.vim @@ -6,15 +6,15 @@ function! ale_linters#slim#slimlint#GetCommand(buffer) abort let l:rubocop_config = ale#path#FindNearestFile(a:buffer, '.rubocop.yml') - " Set SLIM_LINT_RUBUCOP_CONF variable as it is needed for slim-lint to + " Set SLIM_LINT_RUBOCOP_CONF variable as it is needed for slim-lint to " pick up the rubocop config. " " 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') - let l:command = 'set SLIM_LINT_RUBUCOP_CONF=' . ale#Escape(l:rubocop_config) . ' && ' . l:command + let l:command = 'set SLIM_LINT_RUBOCOP_CONF=' . ale#Escape(l:rubocop_config) . ' && ' . l:command else - let l:command = 'SLIM_LINT_RUBUCOP_CONF=' . ale#Escape(l:rubocop_config) . ' ' . l:command + let l:command = 'SLIM_LINT_RUBOCOP_CONF=' . ale#Escape(l:rubocop_config) . ' ' . l:command endif endif -- cgit v1.2.3