aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-04-23 01:15:54 +0200
committerPeter Odding <peter@peterodding.com>2011-04-23 01:15:54 +0200
commit1ee5eff8289ffbf63d0b035e92a183bbba4aa473 (patch)
treee05fe2c2c8b16815071d894881a1702afd4c2ce5
parentc1635d69d44980cfd5b8d6f770deeb02780279b9 (diff)
downloadvim-easytags-1ee5eff8289ffbf63d0b035e92a183bbba4aa473.tar.gz
Don't use feedkeys() hack for Vim >= 7.3
Daniel Hahler pointed out to me that the feedkeys() hack is no longer needed since Vim 7.3. Now it will only be used for earlier versions.
-rw-r--r--plugin/easytags.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/easytags.vim b/plugin/easytags.vim
index 7bfc806..2884da6 100644
--- a/plugin/easytags.vim
+++ b/plugin/easytags.vim
@@ -1,10 +1,10 @@
" Vim plug-in
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: April 12, 2011
+" Last Change: April 23, 2011
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
" License: MIT
-" Version: 2.2.4
+" Version: 2.2.5
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip
@@ -143,7 +143,7 @@ function! s:RegisterTagsFile()
call insert(tagfiles, g:easytags_file)
let value = xolox#misc#option#join_tags(tagfiles)
let cmd = 'set tags=' . escape(value, '\ ')
- if has('win32') || has('win64')
+ if xolox#misc#os#is_win() && v:version < 703
" TODO How to clear the expression from Vim's status line?
call feedkeys(":" . cmd . "|let &ro=&ro\<CR>", 'n')
else