Quellcode durchsuchen

Merge pull request #101 from alex-courtis/#100-Not-Ignoring-temporary-buffers-with-buftype-set

Ignore temporary buffers with buftype set
jlanzarotta vor 3 Jahren
Ursprung
Commit
4b1d3adca7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      plugin/bufexplorer.vim

+ 1 - 1
plugin/bufexplorer.vim

@@ -313,7 +313,7 @@ endfunction
 " ShouldIgnore {{{2
 function! s:ShouldIgnore(buf)
     " Ignore temporary buffers with buftype set.
-    if empty(getbufvar(a:buf, "&buftype") == 0)
+    if empty(getbufvar(a:buf, "&buftype")) == 0
         return 1
     endif