1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-19 16:27:45 +02:00

Compare commits

..

2 Commits

Author SHA1 Message Date
2a2dc266b0 nvim: adapted icons to fit with another 2023-08-08 18:10:08 +02:00
ec1e911712 nvim: conceallevel set more conservatively 2023-08-08 17:11:23 +02:00
3 changed files with 455 additions and 413 deletions

View File

@ -75,7 +75,7 @@ vim.o.foldcolumn = '0'
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
vim.o.conceallevel = 2
vim.o.conceallevel = 0
-- load general mapped keys
require('style')

View File

@ -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
@ -422,8 +426,6 @@ return require("lazy").setup({
ft = { 'markdown' },
config = function()
vim.g.vim_markdown_folding_style_pythonic = 1
vim.g.vim_markdown_folding_disabled = 0
vim.g.vim_markdown_conceal = 2
end
},
@ -448,5 +450,11 @@ return require("lazy").setup({
config = function()
vim.cmd('colorscheme tccs')
end
},
},
{
ui = {
icons = Lazy_signs
}
})
}
)

View File

@ -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" }