Просмотр исходного кода

Ignore temporary buffers with buftype set

Alexander Courtis 3 лет назад
Родитель
Сommit
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