show status line on NvimTree in nvim-0.7
This commit is contained in:
@@ -45,13 +45,15 @@ local tabstop = {
|
||||
}
|
||||
|
||||
local globalstatus = false
|
||||
local disabledfts = { "NvimTree" }
|
||||
if vim.fn.has("nvim-0.7") == 1 then
|
||||
globalstatus = true
|
||||
disabledfts = {}
|
||||
end
|
||||
|
||||
lualine.setup({
|
||||
options = {
|
||||
disabled_filetypes = { "NvimTree" },
|
||||
disabled_filetypes = disabledfts,
|
||||
component_separators = "",
|
||||
section_separators = "",
|
||||
globalstatus = globalstatus,
|
||||
|
||||
Reference in New Issue
Block a user