Browse Source

feature: Add chevron to breadcrumbs (with matching highlight group) (#3380)

Jonathan Wren 2 years ago
parent
commit
313191169e
1 changed files with 2 additions and 3 deletions
  1. 2 3
      lua/lvim/core/breadcrumbs.lua

+ 2 - 3
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