Minor cleanup.

This commit is contained in:
LCD 47 2014-01-05 08:31:29 +02:00
parent 55941360f3
commit 00e75e1151
3 changed files with 5 additions and 6 deletions

View File

@ -19,7 +19,7 @@ if !exists('g:syntastic_erlc_include_path')
let g:syntastic_erlc_include_path = ''
endif
let s:check_file = expand('<sfile>:p:h') . '/erlang_check_file.erl'
let s:check_file = expand('<sfile>:p:h') . syntastic#util#Slash() . 'erlang_check_file.erl'
let s:save_cpo = &cpo
set cpo&vim

View File

@ -30,15 +30,15 @@ if !exists("g:syntastic_less_use_less_lint")
let g:syntastic_less_use_less_lint = 0
endif
let s:save_cpo = &cpo
set cpo&vim
if g:syntastic_less_use_less_lint
let s:check_file = 'node ' . expand('<sfile>:p:h') . '/less-lint.js'
let s:check_file = 'node ' . expand('<sfile>:p:h') . syntastic#util#Slash() . 'less-lint.js'
else
let s:check_file = 'lessc'
endif
let s:save_cpo = &cpo
set cpo&vim
function! SyntaxCheckers_less_lessc_IsAvailable() dict
return g:syntastic_less_use_less_lint ? executable('node') : executable('lessc')
endfunction

View File

@ -33,7 +33,6 @@ endfunction
function! SyntaxCheckers_puppet_puppetlint_GetLocList() dict
let makeprg = self.makeprgBuild({
\ 'exe': 'puppet-lint',
\ 'post_args': '--log-format "%{KIND} [%{check}] %{message} at %{fullpath}:%{linenumber}"' })
let errorformat = '%t%*[a-zA-Z] %m at %f:%l'