remove check for nvim-0.7

This commit is contained in:
2022-03-22 10:55:23 +03:00
parent 50b4f671cb
commit d7f90f3382

View File

@@ -44,19 +44,11 @@ local tabstop = {
end, end,
} }
local globalstatus = false
local disabledfts = { "NvimTree" }
if vim.fn.has("nvim-0.7") == 1 then
globalstatus = true
disabledfts = {}
end
lualine.setup({ lualine.setup({
options = { options = {
disabled_filetypes = disabledfts,
component_separators = "", component_separators = "",
section_separators = "", section_separators = "",
globalstatus = globalstatus, globalstatus = true,
}, },
sections = { sections = {
lualine_a = { mode }, lualine_a = { mode },