diff options
author | Jonathan Wren <[email protected]> | 2022-11-04 08:00:02 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-04 11:00:02 -0400 |
commit | 313191169ec2beae3cdd46d724933fe7f6c86e57 (patch) | |
tree | 0c3c94f0465c255c19851187445a098385e69d65 | |
parent | 060116eff03f784212c8c6cbc0a6aa0d53d44ad9 (diff) |
feature: Add chevron to breadcrumbs (with matching highlight group) (#3380)
-rw-r--r-- | lua/lvim/core/breadcrumbs.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/lvim/core/breadcrumbs.lua b/lua/lvim/core/breadcrumbs.lua index ee719098..d33deec5 100644 --- a/lua/lvim/core/breadcrumbs.lua +++ b/lua/lvim/core/breadcrumbs.lua @@ -72,7 +72,7 @@ M.config = function() Variable = icons.Variable .. " ", }, highlight = true, - separator = " " .. ">" .. " ", + separator = " " .. lvim.icons.ui.ChevronShortRight .. " ", depth_limit = 0, depth_limit_indicator = "..", }, @@ -154,8 +154,7 @@ local get_gps = function() end if not require("lvim.utils.functions").isempty(gps_location) then - -- TODO: replace with chevron - return ">" .. " " .. gps_location + return "%#NavicSeparator#".. lvim.icons.ui.ChevronShortRight .. "%* " .. gps_location else return "" end |