# HG changeset patch # User Ludovic Chabant # Date 1437026336 25200 # Node ID 0f5b4a36c920fd10649329d153a43b308835eb04 # Parent 106757c129cbcc78a49790f45a52bf5b53272e11 Don't try to setup Gutentags for non normal buffers. diff -r 106757c129cb -r 0f5b4a36c920 autoload/gutentags.vim --- a/autoload/gutentags.vim Wed Jul 15 22:46:49 2015 -0700 +++ b/autoload/gutentags.vim Wed Jul 15 22:58:56 2015 -0700 @@ -95,6 +95,13 @@ return endif + " 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 != '' + return + endif + " Try and find what tags file we should manage. call gutentags#trace("Scanning buffer '" . bufname('%') . "' for gutentags setup...") try