From f31333832adf37467ff70218f889f00e77e57027 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Wed, 16 Jun 2010 14:41:51 +0200 Subject: Bug fix for E713: Cannot use empty key for Dictionary --- autoload.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload.vim b/autoload.vim index efd18ce..1fd0939 100644 --- a/autoload.vim +++ b/autoload.vim @@ -1,6 +1,6 @@ " Vim script " Maintainer: Peter Odding -" Last Change: June 15, 2010 +" Last Change: June 16, 2010 " URL: http://peterodding.com/code/vim/easytags let s:script = expand(':p:~') @@ -39,7 +39,7 @@ function! easytags#update_cmd(filter_invalid_tags) " {{{2 let filename = s:resolve(expand('%:p')) let ft_supported = index(easytags#supported_filetypes(), &ft) >= 0 let ft_ignored = g:easytags_ignored_filetypes != '' && &ft =~ g:easytags_ignored_filetypes - if (ft_supported && !ft_ignored) || a:filter_invalid_tags + if (filename != '' && ft_supported && !ft_ignored) || a:filter_invalid_tags let start = xolox#timer#start() let tagsfile = easytags#get_tagsfile() let command = [g:easytags_cmd, '-f', shellescape(tagsfile), '--fields=+l'] -- cgit v1.2.3