This repository was archived by the owner on Sep 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ function! syntastic#preprocess#rparse(errors) abort " {{{2
207207 if i > 0 && errlist[i ][:1 ] == ' ' && errlist[i ] !~ ' \m\s\+\^$'
208208 let errlist[i - 1 ] .= errlist[i ][1 :]
209209 call remove (errlist, i )
210- elseif errlist[i ] !~ ' \m^\(Lint:\|Lint checking:\|Error in\) '
210+ elseif errlist[i ] !~# ' \m^\(Lint:\|Lint checking:\|Error in\) '
211211 call remove (errlist, i )
212212 else
213213 let i += 1
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ endfunction " }}}2
255255
256256" A less noisy shellescape()
257257function ! syntastic#util#shescape (string ) abort " {{{2
258- return a: string = ~ ' \m^[A-Za-z0-9_/.-]\+$' ? a: string : shellescape (a: string )
258+ return a: string = ~# ' \m^[A-Za-z0-9_/.-]\+$' ? a: string : shellescape (a: string )
259259endfunction " }}}2
260260
261261" A less noisy shellescape(expand())
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if has('reltime')
1919 lockvar ! g: _SYNTASTIC_START
2020endif
2121
22- let g: _SYNTASTIC_VERSION = ' 3.6.0-42 '
22+ let g: _SYNTASTIC_VERSION = ' 3.6.0-43 '
2323lockvar g: _SYNTASTIC_VERSION
2424
2525" Sanity checks {{{1
@@ -259,7 +259,7 @@ function! s:BufEnterHook() abort " {{{2
259259 \ ' , &buftype = ' . string (&buftype ))
260260 if &buftype == ' '
261261 call s: notifiers .refresh (g: SyntasticLoclist .current ())
262- elseif &buftype == ' quickfix'
262+ elseif &buftype == # ' quickfix'
263263 " TODO: this is needed because in recent versions of Vim lclose
264264 " can no longer be called from BufWinLeave
265265 " TODO: at this point there is no b:syntastic_loclist
@@ -550,7 +550,7 @@ function! SyntasticMake(options) abort " {{{2
550550 let &shellredir = old_shellredir
551551 " }}}3
552552
553- if ! s: _running_windows && (s: _os_name () = ~ " FreeBSD" || s: _os_name () = ~ " OpenBSD" )
553+ if ! s: _running_windows && (s: _os_name () = ~? " FreeBSD" || s: _os_name () = ~? " OpenBSD" )
554554 call syntastic#util#redraw (g: syntastic_full_redraws )
555555 endif
556556
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ endfunction " }}}1
4646
4747function ! SyntaxCheckers_ocaml_camlp4o_GetLocList () dict " {{{1
4848 let makeprg = s: GetMakeprg ()
49- if makeprg == " "
49+ if makeprg == ' '
5050 return []
5151 endif
5252
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function! SyntaxCheckers_python_flake8_GetLocList() dict
4444 let e [' text' ] .= printf (' [%s%03d]' , e [' type' ], e [' nr' ])
4545 " E901 are syntax errors
4646 " E902 are I/O errors
47- if e [' type' ] == ? ' E' && e [' nr' ] !~ ' \m^9'
47+ if e [' type' ] == ? ' E' && e [' nr' ] !~# ' \m^9'
4848 let e [' subtype' ] = ' Style'
4949 endif
5050 call remove (e , ' nr' )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ function! SyntaxCheckers_r_lint_GetLocList() dict
6262 \ ' returns' : [0 ] })
6363
6464 for e in loclist
65- if e [' type' ] == ' F'
65+ if e [' type' ] == ? ' F'
6666 " parse error
6767 let e [' type' ] = ' E'
6868 call remove (e , ' subtype' )
You can’t perform that action at this time.
0 commit comments