Skip to content

Commit

Permalink
docs: update simple statusline snippet (See #147)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbochs committed Mar 31, 2024
1 parent d1877fd commit 6185e4e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1021,8 +1021,12 @@ require("lualine").setup({
sections = {
lualine_b = {
{
require("grapple").name_or_index,
cond = require("grapple").exists
function()
return require("grapple").name_or_index()
end,
cond = function()
return package.loaded["grapple"] and require("grapple").exists()
end
}
}
}
Expand Down

0 comments on commit 6185e4e

Please sign in to comment.