feat: Use updated lualine syntax
This commit is contained in:
2
flake.lock
generated
2
flake.lock
generated
@@ -1815,7 +1815,7 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-RZzpIKpIxRCokGZf10EdaiP5fTUDuFyZxSAKonCBJJ8=",
|
"narHash": "sha256-2CxuQIKuMbth3Z5NG4gvUPa0EZPazSgwOdxbzbfqvwQ=",
|
||||||
"path": "./neovim",
|
"path": "./neovim",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -74,24 +74,20 @@ in rec {
|
|||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.sections = {
|
settings.sections = {
|
||||||
lualine_c = [
|
lualine_c =
|
||||||
{
|
rawLua
|
||||||
name =
|
/*
|
||||||
rawLua
|
lua
|
||||||
/*
|
*/
|
||||||
lua
|
''
|
||||||
*/
|
function(bufnr)
|
||||||
''
|
local opts = { highlight = true }
|
||||||
function(bufnr)
|
return require'nvim-navic'.get_location(opts)
|
||||||
local opts = { highlight = true }
|
end,
|
||||||
return require'nvim-navic'.get_location(opts)
|
cond = function()
|
||||||
end,
|
return require'nvim-navic'.is_available()
|
||||||
cond = function()
|
end
|
||||||
return require'nvim-navic'.is_available()
|
'';
|
||||||
end
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user