use global statusline only on neovim 0.7

This commit is contained in:
2022-03-21 10:40:40 +03:00
parent 9ede0b9af3
commit 84a4e9c1d4
2 changed files with 10 additions and 2 deletions

View File

@@ -33,7 +33,10 @@ opt.showcmd = false
opt.guicursor = "a:block,i:ver25"
opt.fileformat = "unix"
opt.fileformats = { "unix", "dos", "mac" }
opt.laststatus = 3
if vim.fn.has("nvim-0.7") == 1 then
opt.laststatus = 3
end
-- if vim.fn.has("win32") == 1 then
-- opt.shell = "powershell.exe"