Add status in lualine for use with noice
This commit is contained in:
parent
55b99c86da
commit
9c1c7913f3
1 changed files with 7 additions and 1 deletions
|
|
@ -20,7 +20,13 @@ local opts = {
|
|||
sections = {
|
||||
lualine_a = { 'mode' },
|
||||
lualine_b = { 'branch', 'diff' },
|
||||
lualine_c = { 'filename' },
|
||||
lualine_c = {
|
||||
'filename',
|
||||
{
|
||||
require("noice").api.status.mode.get,
|
||||
cond = require("noice").api.status.mode.has,
|
||||
},
|
||||
},
|
||||
lualine_x = { 'diagnostics', 'filetype' },
|
||||
lualine_y = { 'progress' },
|
||||
lualine_z = { 'location' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue