From c0510ddec86070dbcacbd291736de27aabbf3bfe Mon Sep 17 00:00:00 2001 From: shadmansaleh Date: Tue, 9 Aug 2022 07:08:23 +0000 Subject: [PATCH] chore: autogen (vimdocs+formating) --- lua/lualine/components/filename.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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