diff options
author | Christian Chiarulli <[email protected]> | 2022-10-03 04:50:52 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-03 04:50:52 +0000 |
commit | 35cea14111ce642cbb74df96bf948263b98ebd04 (patch) | |
tree | 1b1ddb3fdd79b39299d0be7e0125c230044cac87 /lua/lvim/core/breadcrumbs.lua | |
parent | 3b26b04a12c4ce82e477f2be78fbb0b70a8afa3f (diff) |
feat: add space after breadcrumb icons (#3128)
Diffstat (limited to 'lua/lvim/core/breadcrumbs.lua')
-rw-r--r-- | lua/lvim/core/breadcrumbs.lua | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/lua/lvim/core/breadcrumbs.lua b/lua/lvim/core/breadcrumbs.lua index dd7f5163..cdddd9e8 100644 --- a/lua/lvim/core/breadcrumbs.lua +++ b/lua/lvim/core/breadcrumbs.lua @@ -2,12 +2,49 @@ local M = {} -- local Log = require "lvim.core.log" +local icons = lvim.icons.kind + M.config = function() lvim.builtin.breadcrumbs = { active = false, on_config_done = nil, options = { - icons = lvim.icons.kind, + icons = { + Array = icons.Array .. " ", + Boolean = icons.Boolean, + Class = icons.Class .. " ", + Color = icons.Color .. " ", + Constant = icons.Constant .. " ", + Constructor = icons.Constructor .. " ", + Enum = icons.Enum .. " ", + EnumMember = icons.EnumMember .. " ", + Event = icons.Event .. " ", + Field = icons.Field .. " ", + File = icons.File .. " ", + Folder = icons.Folder .. " ", + Function = icons.Function .. " ", + Interface = icons.Interface .. " ", + Key = icons.Key .. " ", + Keyword = icons.Keyword .. " ", + Method = icons.Method .. " ", + Module = icons.Module .. " ", + Namespace = icons.Namespace .. " ", + Null = icons.Null .. " ", + Number = icons.Number .. " ", + Object = icons.Object .. " ", + Operator = icons.Operator .. " ", + Package = icons.Package .. " ", + Property = icons.Property .. " ", + Reference = icons.Reference .. " ", + Snippet = icons.Snippet .. " ", + String = icons.String .. " ", + Struct = icons.Struct .. " ", + Text = icons.Text .. " ", + TypeParameter = icons.TypeParameter .. " ", + Unit = icons.Unit .. " ", + Value = icons.Value .. " ", + Variable = icons.Variable .. " ", + }, highlight = true, separator = " " .. ">" .. " ", depth_limit = 0, |