mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-20 00:37:44 +02:00
Compare commits
No commits in common. "2a2dc266b0552b383375c0e2869c9dc8fd7c125d" and "222b98d70bce5e1e3cc7ffbe38a20a03ebe8089a" have entirely different histories.
2a2dc266b0
...
222b98d70b
@ -75,7 +75,7 @@ vim.o.foldcolumn = '0'
|
|||||||
vim.o.foldlevel = 99
|
vim.o.foldlevel = 99
|
||||||
vim.o.foldlevelstart = 99
|
vim.o.foldlevelstart = 99
|
||||||
vim.o.foldenable = true
|
vim.o.foldenable = true
|
||||||
vim.o.conceallevel = 0
|
vim.o.conceallevel = 2
|
||||||
|
|
||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('style')
|
require('style')
|
||||||
|
@ -13,6 +13,7 @@ end
|
|||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
return require("lazy").setup({
|
return require("lazy").setup({
|
||||||
|
|
||||||
-- display git status per line
|
-- display git status per line
|
||||||
{
|
{
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
@ -131,7 +132,7 @@ return require("lazy").setup({
|
|||||||
config = function()
|
config = function()
|
||||||
require("mason").setup({
|
require("mason").setup({
|
||||||
ui = {
|
ui = {
|
||||||
icons = Install_signs
|
icons = Install_icons
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -281,7 +282,7 @@ return require("lazy").setup({
|
|||||||
preset = "codicons",
|
preset = "codicons",
|
||||||
maxwidth = 50,
|
maxwidth = 50,
|
||||||
menu = Menu_signs,
|
menu = Menu_signs,
|
||||||
symbol_map = Lsp_signs
|
symbol_map = Symbol_map
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -314,16 +315,11 @@ return require("lazy").setup({
|
|||||||
view = {
|
view = {
|
||||||
width = 30,
|
width = 30,
|
||||||
},
|
},
|
||||||
filters = {
|
|
||||||
dotfiles = true,
|
|
||||||
},
|
|
||||||
renderer = {
|
renderer = {
|
||||||
group_empty = true,
|
group_empty = true,
|
||||||
icons = {
|
|
||||||
glyphs = {
|
|
||||||
git = Git_signs
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
filters = {
|
||||||
|
dotfiles = true,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -426,6 +422,8 @@ return require("lazy").setup({
|
|||||||
ft = { 'markdown' },
|
ft = { 'markdown' },
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.vim_markdown_folding_style_pythonic = 1
|
vim.g.vim_markdown_folding_style_pythonic = 1
|
||||||
|
vim.g.vim_markdown_folding_disabled = 0
|
||||||
|
vim.g.vim_markdown_conceal = 2
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -450,11 +448,5 @@ return require("lazy").setup({
|
|||||||
config = function()
|
config = function()
|
||||||
vim.cmd('colorscheme tccs')
|
vim.cmd('colorscheme tccs')
|
||||||
end
|
end
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
ui = {
|
|
||||||
icons = Lazy_signs
|
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
)
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- set signs for various uses
|
-- set diagnostic signs
|
||||||
Error_sign = " "
|
Error_sign = " "
|
||||||
Warn_sign = " "
|
Warn_sign = " "
|
||||||
Info_sign = " "
|
Info_sign = " "
|
||||||
@ -15,7 +15,7 @@ Menu_signs = {
|
|||||||
luasnip = "",
|
luasnip = "",
|
||||||
}
|
}
|
||||||
|
|
||||||
Lsp_signs = {
|
Symbol_map = {
|
||||||
Text = "",
|
Text = "",
|
||||||
Method = "",
|
Method = "",
|
||||||
Function = "φ",
|
Function = "φ",
|
||||||
@ -43,46 +43,12 @@ Lsp_signs = {
|
|||||||
TypeParameter = ""
|
TypeParameter = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
Install_signs = {
|
Install_icons = {
|
||||||
package_installed = "",
|
package_installed = "✓",
|
||||||
package_pending = "",
|
package_pending = "➜",
|
||||||
package_uninstalled = "✗"
|
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(
|
vim.fn.sign_define(
|
||||||
"DiagnosticSignError",
|
"DiagnosticSignError",
|
||||||
{ texthl = "DiagnosticSignError", text = Error_sign, numhl = "DiagnosticSignError" }
|
{ texthl = "DiagnosticSignError", text = Error_sign, numhl = "DiagnosticSignError" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user