浏览代码

Ignore temporary buffers with buftype set

Alexander Courtis 3 年之前
父节点
当前提交
5e82975780
共有 1 个文件被更改,包括 1 次插入1 次删除
  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