chore: autogen (vimdocs+formating)
This commit is contained in:
parent
7b4b864af7
commit
c0510ddec8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue