Skip to content

Commit 51d1af4

Browse files
committed
stylua indent
1 parent 5958fd5 commit 51d1af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/nvim-tree/utils.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ function M.rename_loaded_buffers(old_path, new_path)
143143
local buf_name = a.nvim_buf_get_name(buf)
144144
local exact_match = buf_name == old_path
145145
local child_match = (
146-
buf_name:sub(1, #old_path) == old_path and buf_name:sub(#old_path + 1, #old_path + 1) == path_separator
147-
)
146+
buf_name:sub(1, #old_path) == old_path and buf_name:sub(#old_path + 1, #old_path + 1) == path_separator
147+
)
148148
if exact_match or child_match then
149149
a.nvim_buf_set_name(buf, new_path .. buf_name:sub(#old_path + 1))
150150
-- to avoid the 'overwrite existing file' error message on write for

0 commit comments

Comments
 (0)