chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2022-08-09 07:08:23 +00:00 committed by github-actions[bot]
parent 7b4b864af7
commit c0510ddec8
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@ end
local function is_new_file() local function is_new_file()
local filename = vim.fn.expand('%') local filename = vim.fn.expand('%')
return filename ~= '' and vim.bo.buftype == '' and return filename ~= '' and vim.bo.buftype == '' and vim.fn.filereadable(filename) == 0
vim.fn.filereadable(filename) == 0
end end
---shortens path by turning apple/orange -> a/orange ---shortens path by turning apple/orange -> a/orange