"saghen/blink.cmp",
opts = function(_, opts)
opts.appearance = opts.appearance or {}
- opts.appearance.kind_icons = vim.tbl_extend("force", opts.appearance.kind_icons or {}, LazyVim.config.icons.kinds)
+ opts.appearance.kind_icons = vim.tbl_extend("force", opts.appearance.kind_icons or {}, rmz.ui.icons.kinds)
end,
},
diagnostics = "nvim_lsp",
always_show_bufferline = false,
diagnostics_indicator = function(_, _, diag)
- local icons = LazyVim.config.icons.diagnostics
+ local icons = rmz.ui.icons.diagnostics
local ret = (diag.error and icons.Error .. diag.error .. " " or "")
.. (diag.warning and icons.Warn .. diag.warning or "")
return vim.trim(ret)
},
---@param opts bufferline.IconFetcherOpts
get_element_icon = function(opts)
- return LazyVim.config.icons.ft[opts.filetype]
+ return rmz.ui.icons.ft[opts.filetype]
end,
},
},
local lualine_require = require("lualine_require")
lualine_require.require = require
- local icons = LazyVim.config.icons
+ local icons = rmz.ui.icons
vim.o.laststatus = vim.g.lualine_laststatus
separator = " ",
highlight = true,
depth_limit = 5,
- icons = LazyVim.config.icons.kinds,
+ icons = rmz.ui.icons.kinds,
lazy_update_context = true,
}
end,
--- /dev/null
+local M = {}
+
+-- icons used by other plugins
+M.icons = {
+ misc = {
+ dots = "",
+ },
+ ft = {
+ octo = "",
+ },
+ dap = {
+ Stopped = { " ", "DiagnosticWarn", "DapStoppedLine" },
+ Breakpoint = " ",
+ BreakpointCondition = " ",
+ BreakpointRejected = { " ", "DiagnosticError" },
+ LogPoint = ".>",
+ },
+ diagnostics = {
+ Error = " ",
+ Warn = " ",
+ Hint = " ",
+ Info = " ",
+ },
+ git = {
+ added = " ",
+ modified = " ",
+ removed = " ",
+ },
+ kinds = {
+ Array = " ",
+ Boolean = " ",
+ Class = " ",
+ Codeium = " ",
+ Color = " ",
+ Control = " ",
+ Collapsed = " ",
+ Constant = " ",
+ Constructor = " ",
+ Copilot = " ",
+ Enum = " ",
+ EnumMember = " ",
+ Event = " ",
+ Field = " ",
+ File = " ",
+ Folder = " ",
+ Function = " ",
+ Interface = " ",
+ Key = " ",
+ Keyword = " ",
+ Method = " ",
+ Module = " ",
+ Namespace = " ",
+ Null = " ",
+ Number = " ",
+ Object = " ",
+ Operator = " ",
+ Package = " ",
+ Property = " ",
+ Reference = " ",
+ Snippet = " ",
+ String = " ",
+ Struct = " ",
+ Supermaven = " ",
+ TabNine = " ",
+ Text = " ",
+ TypeParameter = " ",
+ Unit = " ",
+ Value = " ",
+ Variable = " ",
+ },
+}
+return M