We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c484a commit c1b268fCopy full SHA for c1b268f
lua/nvim-tree/buffers.lua
@@ -6,7 +6,7 @@ M._modified = {}
6
---refresh M._modified
7
function M.reload_modified()
8
M._modified = {}
9
- local bufs = vim.fn.getbufinfo { bufmodified = true, buflisted = true }
+ local bufs = vim.fn.getbufinfo { bufmodified = 1, buflisted = 1 }
10
for _, buf in pairs(bufs) do
11
local path = buf.name
12
if path ~= "" then -- not a [No Name] buffer
0 commit comments