Skip to content

Commit 270c955

Browse files
kang8alex-courtis
andauthored
fix: type annotations for utils.is_nvim_tree_buf (#2180)
Co-authored-by: Alexander Courtis <[email protected]>
1 parent 98b76ff commit 270c955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ end
403403

404404
---Is the buffer named NvimTree_[0-9]+ a tree? filetype is "NvimTree" or not readable file.
405405
---This is cheap, as the readable test should only ever be needed when resuming a vim session.
406-
---@param bufnr number may be 0 or nil for current
406+
---@param bufnr number|nil may be 0 or nil for current
407407
---@return boolean
408408
function M.is_nvim_tree_buf(bufnr)
409409
if bufnr == nil then

0 commit comments

Comments
 (0)