Skip to content
This repository
Browse code

Bug fix for E713: Cannot use empty key for Dictionary

  • Loading branch information...
commit f31333832adf37467ff70218f889f00e77e57027 1 parent 8fe189c
Peter Odding authored June 16, 2010

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

  1. 4  autoload.vim
4  autoload.vim
... ...
@@ -1,6 +1,6 @@
1 1
 " Vim script
2 2
 " Maintainer: Peter Odding <peter@peterodding.com>
3  
-" Last Change: June 15, 2010
  3
+" Last Change: June 16, 2010
4 4
 " URL: http://peterodding.com/code/vim/easytags
5 5
 
6 6
 let s:script = expand('<sfile>:p:~')
@@ -39,7 +39,7 @@ function! easytags#update_cmd(filter_invalid_tags) " {{{2
39 39
     let filename = s:resolve(expand('%:p'))
40 40
     let ft_supported = index(easytags#supported_filetypes(), &ft) >= 0
41 41
     let ft_ignored = g:easytags_ignored_filetypes != '' && &ft =~ g:easytags_ignored_filetypes
42  
-    if (ft_supported && !ft_ignored) || a:filter_invalid_tags
  42
+    if (filename != '' && ft_supported && !ft_ignored) || a:filter_invalid_tags
43 43
       let start = xolox#timer#start()
44 44
       let tagsfile = easytags#get_tagsfile()
45 45
       let command = [g:easytags_cmd, '-f', shellescape(tagsfile), '--fields=+l']

0 notes on commit f313338

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