remove check for nvim-0.7
This commit is contained in:
@@ -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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user