[lualine] Add grapple to statusline
This commit is contained in:
@@ -34,6 +34,13 @@ local function setup()
|
|||||||
{ "filename", path = 1, },
|
{ "filename", path = 1, },
|
||||||
"diff",
|
"diff",
|
||||||
{ "diagnostics", sources = { "nvim_lsp", }, },
|
{ "diagnostics", sources = { "nvim_lsp", }, },
|
||||||
|
{
|
||||||
|
function ()
|
||||||
|
local key = require("grapple").key()
|
||||||
|
return " [" .. key .. "]"
|
||||||
|
end,
|
||||||
|
cond = require("grapple").exists,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lualine_x = {
|
lualine_x = {
|
||||||
"bo:filetype",
|
"bo:filetype",
|
||||||
|
|||||||
Reference in New Issue
Block a user