nvim: Set git_branch to '' instead of nil
Anirudh Oppiliappan x@icyphox.sh
Fri, 09 Jul 2021 22:39:42 +0530
1 files changed,
1 insertions(+),
2 deletions(-)
M
config/nvim/lua/statusline/git.lua
→
config/nvim/lua/statusline/git.lua
@@ -36,8 +36,7 @@ -- reset file-watch
watch_head() end)) else - -- set to nil when git dir was not found - M.git_branch = nil + M.git_branch = '' end end