Skip to content

Commit

Permalink
update symbol icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortArrow committed Apr 13, 2024
1 parent 304d26a commit 645779b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
26 changes: 13 additions & 13 deletions nvim/lua/config/_cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ M.setup = function()
end

local source_mapping = {
buffer = "[Buffer]",
nvim_lsp = "[LSP]",
nvim_lua = "[Lua]",
treesitter = "[🌳TS]",
plugins = "[Plugins]",
vsnip = "[VSnip]",
path = "[Path]",
calc = "[Calc]",
emoji = "[Emoji]",
nerdfont = "[Nerd]",
nvim_lsp_signature_help = "[Signature]",
pandac_reference = "[Pandac]",
tmux = "[TMUX]",
buffer = "🐃 ",
nvim_lsp = "󰒍 ",
nvim_lua = "󰢱 ",
treesitter = "",
plugins = "󰐱 ",
vsnip = "󰷥 ",
path = "󰑪 ",
calc = "󰪚 ",
emoji = "",
nerdfont = "󰊪 ",
nvim_lsp_signature_help = "󰷻 ",
pandac_reference = "󰏚 ",
tmux = "󱇙 ",
}
local function has_words_before()
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
Expand Down
50 changes: 25 additions & 25 deletions nvim/lua/config/_lsp_kind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,31 @@ M.setup = function()
--
-- default: {}
symbol_map = {
Text = " ",
Method = " ",
Function = " ",
Constructor = " ",
Field = " ",
Variable = " ",
Class = " ",
Interface = " ",
Module = " ",
Property = " ",
Unit = " ",
Value = " ",
Enum = " ",
Keyword = " ",
Snippet = " ",
Color = " ",
File = " ",
Reference = " ",
Folder = " ",
EnumMember = " ",
Constant = " ",
Struct = " ",
Event = " ",
Operator = " ",
TypeParameter = " "
Text = " ",
Method = " ",
Function = "󰊕 ",
Constructor = "󰊕 ",
Field = " ",
Variable = " ",
Class = " ",
Interface = " ",
Module = " ",
Property = " ",
Unit = "󰐱 ",
Value = " ",
Enum = " ",
Keyword = " ",
Snippet = " ",
Color = " ",
File = " ",
Reference = " ",
Folder = " ",
EnumMember = " ",
Constant = " ",
Struct = " ",
Event = " ",
Operator = " ",
TypeParameter = " "
},
})
end
Expand Down

0 comments on commit 645779b

Please sign in to comment.