mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-29 06:27:46 +01:00
nvim: adapted icons to fit with another
This commit is contained in:
parent
ec1e911712
commit
2a2dc266b0
@ -13,7 +13,6 @@ end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
return require("lazy").setup({
|
||||
|
||||
-- display git status per line
|
||||
{
|
||||
'lewis6991/gitsigns.nvim',
|
||||
@ -132,7 +131,7 @@ return require("lazy").setup({
|
||||
config = function()
|
||||
require("mason").setup({
|
||||
ui = {
|
||||
icons = Install_icons
|
||||
icons = Install_signs
|
||||
}
|
||||
})
|
||||
end
|
||||
@ -282,7 +281,7 @@ return require("lazy").setup({
|
||||
preset = "codicons",
|
||||
maxwidth = 50,
|
||||
menu = Menu_signs,
|
||||
symbol_map = Symbol_map
|
||||
symbol_map = Lsp_signs
|
||||
})
|
||||
}
|
||||
}
|
||||
@ -315,11 +314,16 @@ return require("lazy").setup({
|
||||
view = {
|
||||
width = 30,
|
||||
},
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
},
|
||||
filters = {
|
||||
dotfiles = true,
|
||||
},
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
icons = {
|
||||
glyphs = {
|
||||
git = Git_signs
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
end
|
||||
@ -446,5 +450,11 @@ return require("lazy").setup({
|
||||
config = function()
|
||||
vim.cmd('colorscheme tccs')
|
||||
end
|
||||
},
|
||||
},
|
||||
{
|
||||
ui = {
|
||||
icons = Lazy_signs
|
||||
}
|
||||
})
|
||||
}
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- set diagnostic signs
|
||||
-- set signs for various uses
|
||||
Error_sign = " "
|
||||
Warn_sign = " "
|
||||
Info_sign = " "
|
||||
@ -15,7 +15,7 @@ Menu_signs = {
|
||||
luasnip = "",
|
||||
}
|
||||
|
||||
Symbol_map = {
|
||||
Lsp_signs = {
|
||||
Text = "",
|
||||
Method = "",
|
||||
Function = "φ",
|
||||
@ -43,12 +43,46 @@ Symbol_map = {
|
||||
TypeParameter = ""
|
||||
}
|
||||
|
||||
Install_icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
Install_signs = {
|
||||
package_installed = "",
|
||||
package_pending = "",
|
||||
package_uninstalled = "✗"
|
||||
}
|
||||
|
||||
Git_signs = {
|
||||
unstaged = "",
|
||||
staged = "",
|
||||
unmerged = "",
|
||||
renamed = "",
|
||||
deleted = "",
|
||||
untracked = "",
|
||||
ignored = "",
|
||||
}
|
||||
|
||||
Lazy_signs = {
|
||||
cmd = " ",
|
||||
config = "",
|
||||
event = "",
|
||||
ft = " ",
|
||||
init = " ",
|
||||
import = " ",
|
||||
keys = " ",
|
||||
lazy = " ",
|
||||
loaded = " ",
|
||||
not_loaded = "",
|
||||
plugin = " ",
|
||||
runtime = " ",
|
||||
source = " ",
|
||||
start = "",
|
||||
task = " ",
|
||||
list = {
|
||||
"●",
|
||||
"➜",
|
||||
"",
|
||||
"",
|
||||
}
|
||||
}
|
||||
|
||||
vim.fn.sign_define(
|
||||
"DiagnosticSignError",
|
||||
{ texthl = "DiagnosticSignError", text = Error_sign, numhl = "DiagnosticSignError" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user