From 1ee5eff8289ffbf63d0b035e92a183bbba4aa473 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 23 Apr 2011 01:15:54 +0200 Subject: 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. --- plugin/easytags.vim | 6 +++--- 1 file 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 -" 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\", 'n') else -- cgit v1.2.3