From 481d5f6f53e1e6ff1d8f29d3ac996af723be2381 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 20 Apr 2022 13:55:48 +0200 Subject: [PATCH] home: vim: lualine: use 'FugitiveHead' The built-in `branch` indicator does not handle git worktrees quite correctly. It shows the wrong branch when used in `git commit`. --- home/vim/plugin/settings/lualine.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/vim/plugin/settings/lualine.vim b/home/vim/plugin/settings/lualine.vim index 0273c78..93c38bb 100644 --- a/home/vim/plugin/settings/lualine.vim +++ b/home/vim/plugin/settings/lualine.vim @@ -31,7 +31,7 @@ lualine.setup({ { "mode" }, }, lualine_b = { - { "branch" }, + { "FugitiveHead" }, { "filename", symbols = { readonly = "🔒" } }, }, lualine_c = {