nvim: only activate winbar in >= 0.8.0
This commit is contained in:
parent
5469281e1e
commit
3e8dbd4768
|
@ -106,11 +106,16 @@ require('lualine').setup({
|
||||||
lualine_z = { { 'location' }, { '"🍄"', padding = 0 }
|
lualine_z = { { 'location' }, { '"🍄"', padding = 0 }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
inactive_winbar = {
|
|
||||||
lualine_c = { { 'filename', cond = not_firenvim } },
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if vim.version().api_level >= 10 then -- >=0.8.0
|
||||||
|
require('lualine').setup({
|
||||||
|
inactive_winbar = {
|
||||||
|
lualine_c = { { 'filename', cond = not_firenvim } },
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
map('n', '<Leader>B', require('bug-reference').open, 'Open bug under cursor')
|
map('n', '<Leader>B', require('bug-reference').open, 'Open bug under cursor')
|
||||||
|
|
||||||
local mind = require('mind')
|
local mind = require('mind')
|
||||||
|
|
Loading…
Reference in New Issue