diff --git a/lua/lualine/components/filename.lua b/lua/lualine/components/filename.lua index 659aa03..b7f74f4 100644 --- a/lua/lualine/components/filename.lua +++ b/lua/lualine/components/filename.lua @@ -29,8 +29,7 @@ end local function is_new_file() local filename = vim.fn.expand('%') - return filename ~= '' and vim.bo.buftype == '' and - vim.fn.filereadable(filename) == 0 + return filename ~= '' and vim.bo.buftype == '' and vim.fn.filereadable(filename) == 0 end ---shortens path by turning apple/orange -> a/orange