diff --git a/flake.lock b/flake.lock index d5b944da..c268a9bc 100644 --- a/flake.lock +++ b/flake.lock @@ -1815,7 +1815,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-RZzpIKpIxRCokGZf10EdaiP5fTUDuFyZxSAKonCBJJ8=", + "narHash": "sha256-2CxuQIKuMbth3Z5NG4gvUPa0EZPazSgwOdxbzbfqvwQ=", "path": "./neovim", "type": "path" }, diff --git a/neovim/nvim.nix b/neovim/nvim.nix index 60a3b6be..d9b850fe 100644 --- a/neovim/nvim.nix +++ b/neovim/nvim.nix @@ -74,24 +74,20 @@ in rec { lualine = { enable = true; settings.sections = { - lualine_c = [ - { - name = - rawLua - /* - lua - */ - '' - function(bufnr) - local opts = { highlight = true } - return require'nvim-navic'.get_location(opts) - end, - cond = function() - return require'nvim-navic'.is_available() - end - ''; - } - ]; + lualine_c = + rawLua + /* + lua + */ + '' + function(bufnr) + local opts = { highlight = true } + return require'nvim-navic'.get_location(opts) + end, + cond = function() + return require'nvim-navic'.is_available() + end + ''; }; };