Skip to content
This repository
Browse code

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.
  • Loading branch information...
commit 1ee5eff8289ffbf63d0b035e92a183bbba4aa473 1 parent c1635d6
Peter Odding authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  plugin/easytags.vim
6  plugin/easytags.vim
... ...
@@ -1,10 +1,10 @@
1 1
 " Vim plug-in
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: April 12, 2011
  3
+" Last Change: April 23, 2011
4 4
 " URL: http://peterodding.com/code/vim/easytags/
5 5
 " Requires: Exuberant Ctags (http://ctags.sf.net)
6 6
 " License: MIT
7  
-" Version: 2.2.4
  7
+" Version: 2.2.5
8 8
 
9 9
 " Support for automatic update using the GLVS plug-in.
10 10
 " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip
@@ -143,7 +143,7 @@ function! s:RegisterTagsFile()
143 143
     call insert(tagfiles, g:easytags_file)
144 144
     let value = xolox#misc#option#join_tags(tagfiles)
145 145
     let cmd = 'set tags=' . escape(value, '\ ')
146  
-    if has('win32') || has('win64')
  146
+    if xolox#misc#os#is_win() && v:version < 703
147 147
       " TODO How to clear the expression from Vim's status line?
148 148
       call feedkeys(":" . cmd . "|let &ro=&ro\<CR>", 'n')
149 149
     else

0 notes on commit 1ee5eff

Please sign in to comment.
Something went wrong with that request. Please try again.