# HG changeset patch # User Ludovic Chabant # Date 1487483139 28800 # Node ID 1fe62e7f1faedb5f05a48f38ea3859204183d192 # Parent cbc1ebe23ef178d9af830057411b521bc1ad8c4f Don't trigger a tags generation for the empty startup buffer. diff -r cbc1ebe23ef1 -r 1fe62e7f1fae autoload/gutentags.vim --- a/autoload/gutentags.vim Sat Feb 18 18:21:35 2017 -0800 +++ b/autoload/gutentags.vim Sat Feb 18 21:45:39 2017 -0800 @@ -198,7 +198,9 @@ " Don't setup gutentags for anything that's not a normal buffer " (so don't do anything for help buffers and quickfix windows and " other such things) - if &buftype != '' + " Also don't do anything for the default `[No Name]` buffer you get + " after starting Vim. + if &buftype != '' || bufname('%') == '' return endif