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