Skip to content
Permalink
Browse files

Don't return a tab name modified flag if we're not in control of the …

…tabline.
  • Loading branch information...
betterphp committed Dec 4, 2018
1 parent 1367baf commit 9e91d994189ee590e20b976922fbc3afb69cc9d2
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugin/taboo.vim
@@ -172,6 +172,9 @@ fu s:wincountUnicode(tabnr, ubiquitous)
endfu

fu s:modflag(tabnr)
if !g:taboo_tabline
return ""
endif
for buf in tabpagebuflist(a:tabnr)
if getbufvar(buf, "&mod")
if a:tabnr == tabpagenr()

0 comments on commit 9e91d99

Please sign in to comment.
You can’t perform that action at this time.