Mercurial > vim-gutentags
changeset 63:0f5b4a36c920
Don't try to setup Gutentags for non normal buffers.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 15 Jul 2015 22:58:56 -0700 |
parents | 106757c129cb |
children | 3ae6964078ab |
files | autoload/gutentags.vim |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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