Skip to content

Commit 1ee5eff

Browse files
committed
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.
1 parent c1635d6 commit 1ee5eff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin/easytags.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
" Vim plug-in
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: April 12, 2011
3+
" Last Change: April 23, 2011
44
" URL: http://peterodding.com/code/vim/easytags/
55
" Requires: Exuberant Ctags (http://ctags.sf.net)
66
" License: MIT
7-
" Version: 2.2.4
7+
" Version: 2.2.5
88

99
" Support for automatic update using the GLVS plug-in.
1010
" GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip
@@ -143,7 +143,7 @@ function! s:RegisterTagsFile()
143143
call insert(tagfiles, g:easytags_file)
144144
let value = xolox#misc#option#join_tags(tagfiles)
145145
let cmd = 'set tags=' . escape(value, '\ ')
146-
if has('win32') || has('win64')
146+
if xolox#misc#os#is_win() && v:version < 703
147147
" TODO How to clear the expression from Vim's status line?
148148
call feedkeys(":" . cmd . "|let &ro=&ro\<CR>", 'n')
149149
else

0 commit comments

Comments
 (0)