From 46590c377294029443cf8888a74c295794f229da Mon Sep 17 00:00:00 2001 From: siduck Date: Sun, 19 Jun 2022 16:55:40 +0530 Subject: [PATCH] fix https://github.com/NvChad/NvChad/commit/4f1ee6ec8ffa9ea1773b148c3cc90b854cf355a3#commitcomment-76448502 --- lua/ui/statusline.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/ui/statusline.lua b/lua/ui/statusline.lua index da2d2c4..c7b9a0c 100644 --- a/lua/ui/statusline.lua +++ b/lua/ui/statusline.lua @@ -119,7 +119,7 @@ end M.cwd = function() local dir_icon = "%#St_cwd_icon#" .. " " local dir_name = "%#St_cwd_text#" .. " " .. fn.fnamemodify(fn.getcwd(), ":t") .. " " - return (vim.o.columns > 120 and ("%#St_cwd_sep#" .. sep_l .. dir_icon .. dir_name)) + return (vim.o.columns > 120 and ("%#St_cwd_sep#" .. sep_l .. dir_icon .. dir_name)) or "" end M.cursor_position = function()