Skip to content

Commit c1b268f

Browse files
committed
refactor(#2731): resolve warnings, type gymnastics
1 parent d3c484a commit c1b268f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/buffers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ M._modified = {}
66
---refresh M._modified
77
function M.reload_modified()
88
M._modified = {}
9-
local bufs = vim.fn.getbufinfo { bufmodified = true, buflisted = true }
9+
local bufs = vim.fn.getbufinfo { bufmodified = 1, buflisted = 1 }
1010
for _, buf in pairs(bufs) do
1111
local path = buf.name
1212
if path ~= "" then -- not a [No Name] buffer

0 commit comments

Comments
 (0)