From ea6655acc3906411c1f79a119deabffa7769bc6c Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Thu, 27 Jan 2022 18:00:13 +0100 Subject: [PATCH] Add git directory status configuration example --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4a1d93..4668e1e 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,12 @@ configure as follows. let g:lightline = { \ 'active': { \ 'left': [ [ 'mode', 'paste' ], - \ [ 'readonly', 'filenamestatus', 'modified' ] ] + \ [ 'readonly', 'filenamestatus', 'modified' ], + \ [ 'gitdirstatus' ] ] \ }, \ 'component_function': { - \ 'filenamestatus': 'FugiState' + \ 'filenamestatus': 'FugiState', + \ 'gitdirstatus': 'FugiStateGitDir' \ }, \ } ```