Skip to content

Commit

Permalink
Minor correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
obaland committed Oct 19, 2022
1 parent 7740512 commit f9c4658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/vfiler/view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ end
--- Redraw the current contents
function View:redraw()
local buffer = self._buffer
if (not buffer) or (buffer.number ~= vim.fn.bufnr()) then
if not buffer or (buffer.number ~= vim.fn.bufnr()) then
-- for debug
--core.message.warning(
-- 'Cannot draw because the buffer is different. (%d != %d)',
Expand Down

0 comments on commit f9c4658

Please sign in to comment.