Explorar o código

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

Ignore temporary buffers with buftype set
jlanzarotta %!s(int64=3) %!d(string=hai) anos
pai
achega
4b1d3adca7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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