File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3
3
" Last Change: August 8, 2014
4
4
" URL: http://peterodding.com/code/vim/easytags/
5
5
6
- let g: xolox #easytags#version = ' 3.6.4 '
6
+ let g: xolox #easytags#version = ' 3.6.6 '
7
7
let g: xolox #easytags#default_pattern_prefix = ' \C\<'
8
8
let g: xolox #easytags#default_pattern_suffix = ' \>'
9
9
Original file line number Diff line number Diff line change 1
1
" Vim script
2
2
" Author: Peter Odding <peter@peterodding.com>
3
- " Last Change: June 30 , 2014
3
+ " Last Change: August 8 , 2014
4
4
" URL: http://peterodding.com/code/vim/easytags/
5
5
6
6
" This Vim auto-load script contains the parts of vim-easytags that are used
@@ -151,7 +151,12 @@ function! xolox#easytags#update#read_tagsfile(tagsfile) " {{{1
151
151
let headers = []
152
152
let entries = []
153
153
let num_invalid = 0
154
- for line in readfile (a: tagsfile )
154
+ if filereadable (a: tagsfile )
155
+ let lines = readfile (a: tagsfile )
156
+ else
157
+ let lines = []
158
+ endif
159
+ for line in lines
155
160
if line = ~# ' ^!_TAG_'
156
161
call add (headers, line )
157
162
else
You can’t perform that action at this time.
0 commit comments