aboutsummaryrefslogtreecommitdiffstats
path: root/os.vim
blob: 0852e2d55a9c9c4765b5471f031a3001ffe0c2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" Vim auto-load script
" Author: Peter Odding <peter@peterodding.com>
" Last Change: March 15, 2011
" URL: http://peterodding.com/code/vim/misc/

" Check whether Vim is running on Microsoft Windows.

function! xolox#misc#os#is_win()
  return has('win16') || has('win32') || has('win64')
endfunction

" vim: ts=2 sw=2 et