mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-07 07:49:49 +01:00
format
Co-authored-by: raf <raf@notashelf.dev>
This commit is contained in:
parent
bd9fe9eb68
commit
1176ec7584
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ in {
|
|||
local real_file = vim.fn.filereadable(data.file) == 1
|
||||
|
||||
-- buffer is a directory
|
||||
local directory = vim.fn.isdirectory(data.file) == 1
|
||||
local directory = vim.fn.isdirectory(data.file) == 1
|
||||
|
||||
-- buffer is a [No Name]
|
||||
local no_name = data.file == "" and vim.bo[data.buf].buftype == ""
|
||||
|
|
Loading…
Reference in a new issue