1
0
Fork 0

nvim: only activate winbar in >= 0.8.0

This commit is contained in:
tastytea 2022-10-11 15:34:37 +02:00
parent 5469281e1e
commit 3e8dbd4768
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 8 additions and 3 deletions

View File

@ -106,11 +106,16 @@ require('lualine').setup({
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')
local mind = require('mind')