Neovim: add macro notification to statusline
This commit is contained in:
parent
6c9755e919
commit
12a2e960af
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
local noice_statusline = require("noice").api.statusline.mode
|
||||||
-- Statusline
|
-- Statusline
|
||||||
--- @type LazyPluginSpec
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
|
@ -5,6 +6,13 @@ return {
|
||||||
dependencies = { "kyazdani42/nvim-web-devicons" },
|
dependencies = { "kyazdani42/nvim-web-devicons" },
|
||||||
opts = {
|
opts = {
|
||||||
sections = {
|
sections = {
|
||||||
|
lualine_x = {
|
||||||
|
{
|
||||||
|
noice_statusline.get,
|
||||||
|
cond = noice_statusline.has,
|
||||||
|
color = { fg = "#ff9e64" },
|
||||||
|
},
|
||||||
|
},
|
||||||
lualine_z = {
|
lualine_z = {
|
||||||
{
|
{
|
||||||
"selectioncount",
|
"selectioncount",
|
||||||
|
|
Loading…
Reference in a new issue