aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-05-11 22:14:22 +0200
committerPeter Odding <peter@peterodding.com>2011-05-11 22:14:22 +0200
commit4ff082927ebee01931de2c7583cf0b8f86f2926f (patch)
treeb41c8ffdef6bb92b671f4900f459fd5ae630f48b /autoload
parent6ddd431b695e6a93227102cc097cf3f360071633 (diff)
downloadvim-easytags-4ff082927ebee01931de2c7583cf0b8f86f2926f.tar.gz
Use xolox#misc#os#is_win() instead of multiple has() expressions
Diffstat (limited to 'autoload')
-rw-r--r--autoload/xolox/easytags.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim
index 15d63f7..9ed06ec 100644
--- a/autoload/xolox/easytags.vim
+++ b/autoload/xolox/easytags.vim
@@ -1,6 +1,6 @@
" Vim script
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: April 23, 2011
+" Last Change: May 6, 2011
" URL: http://peterodding.com/code/vim/easytags/
let s:script = expand('<sfile>:p:~')
@@ -317,7 +317,7 @@ function! xolox#easytags#write_tagsfile(tagsfile, headers, entries) " {{{2
call sort(a:entries, 1)
endif
let lines = []
- if has('win32') || has('win64')
+ if xolox#misc#os#is_win()
" Exuberant Ctags on Windows requires \r\n but Vim's writefile() doesn't add them!
for line in a:headers
call add(lines, line . "\r")