Skip to content

Commit

Permalink
fix(lint): remove unused initializer for is_absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
willothy committed Jan 26, 2024
1 parent b275b46 commit 1153797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/flatten/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function M.edit_files(opts)
-- Open files
if nfiles > 0 then
for i, fname in ipairs(files) do
local is_absolute = false
local is_absolute
if vim.fn.has("win32") == 1 then
is_absolute = string.find(fname, "^%a:") ~= nil
else
Expand Down

0 comments on commit 1153797

Please sign in to comment.