|
|
@ -1,4 +1,4 @@
|
|
|
|
local noice_statusline = require("noice").api.statusline.mode
|
|
|
|
local noice_mode = require("noice").api.statusline.mode
|
|
|
|
-- Statusline
|
|
|
|
-- Statusline
|
|
|
|
--- @type LazyPluginSpec
|
|
|
|
--- @type LazyPluginSpec
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -7,9 +7,12 @@ return {
|
|
|
|
opts = {
|
|
|
|
opts = {
|
|
|
|
sections = {
|
|
|
|
sections = {
|
|
|
|
lualine_x = {
|
|
|
|
lualine_x = {
|
|
|
|
|
|
|
|
"encoding",
|
|
|
|
|
|
|
|
"fileformat",
|
|
|
|
|
|
|
|
"filetype",
|
|
|
|
{
|
|
|
|
{
|
|
|
|
noice_statusline.get,
|
|
|
|
noice_mode.get,
|
|
|
|
cond = noice_statusline.has,
|
|
|
|
cond = noice_mode.has,
|
|
|
|
color = { fg = "#ff9e64" },
|
|
|
|
color = { fg = "#ff9e64" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|