Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
move s:uname() in with the rest of the functions - close to its usage
Browse files Browse the repository at this point in the history
  • Loading branch information
scrooloose committed Sep 24, 2012
1 parent 9ccef50 commit 9849a6b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugin/syntastic.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ let g:loaded_syntastic_plugin = 1

let s:running_windows = has("win16") || has("win32")

function! s:uname()
if !exists('s:uname')
let s:uname = system('uname')
endif
return s:uname
endfunction

if !exists("g:syntastic_enable_signs")
let g:syntastic_enable_signs = 1
endif
Expand Down Expand Up @@ -493,6 +486,13 @@ function! s:OSSupportsShellpipeHack()
return s:os_supports_shellpipe_hack
endfunction

function! s:uname()
if !exists('s:uname')
let s:uname = system('uname')
endif
return s:uname
endfunction

"check if a syntax checker exists for the given filetype - and attempt to
"load one
function! SyntasticCheckable(ft)
Expand Down

0 comments on commit 9849a6b

Please sign in to comment.