mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-13 04:51:15 +02:00
nvim: moved from packer to lazy
This commit is contained in:
@@ -3,10 +3,10 @@ require('lualine').setup {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
symbols = {
|
||||
error = '',
|
||||
warn = '',
|
||||
hint = '',
|
||||
info = '',
|
||||
error = ' ',
|
||||
warn = ' ',
|
||||
hint = ' ',
|
||||
info = ' ',
|
||||
},
|
||||
theme = 'tccs',
|
||||
component_separators = { left = '', right = '' },
|
||||
|
@@ -126,8 +126,10 @@ require("mason-null-ls").setup({
|
||||
require "lsp_signature".setup({
|
||||
bind = true,
|
||||
handler_opts = {
|
||||
border = "rounded"
|
||||
}
|
||||
border = "none"
|
||||
},
|
||||
hint_prefix = " ",
|
||||
hint_scheme = "DiagnosticSignHint",
|
||||
})
|
||||
|
||||
-- smiteshp/nvim-navbuddy
|
||||
@@ -187,17 +189,17 @@ require('ufo').setup()
|
||||
|
||||
vim.fn.sign_define(
|
||||
"DiagnosticSignError",
|
||||
{ texthl = "DiagnosticSignError", text = "", numhl = "DiagnosticSignError" }
|
||||
{ texthl = "DiagnosticSignError", text = " ", numhl = "DiagnosticSignError" }
|
||||
)
|
||||
vim.fn.sign_define(
|
||||
"DiagnosticSignWarn",
|
||||
{ texthl = "DiagnosticSignWarn", text = "", numhl = "DiagnosticSignWarn" }
|
||||
{ texthl = "DiagnosticSignWarn", text = " ", numhl = "DiagnosticSignWarn" }
|
||||
)
|
||||
vim.fn.sign_define(
|
||||
"DiagnosticSignInfo",
|
||||
{ texthl = "DiagnosticSignInfo", text = "", numhl = "DiagnosticSignInfo" }
|
||||
{ texthl = "DiagnosticSignInfo", text = " ", numhl = "DiagnosticSignInfo" }
|
||||
)
|
||||
vim.fn.sign_define(
|
||||
"DiagnosticSignHint",
|
||||
{ texthl = "DiagnosticSignHint", text = "", numhl = "DiagnosticSignHint" }
|
||||
{ texthl = "DiagnosticSignHint", text = " ", numhl = "DiagnosticSignHint" }
|
||||
)
|
||||
|
@@ -6,12 +6,12 @@ require 'todo-comments'.setup {
|
||||
-- keywords recognized as todo comments
|
||||
keywords = {
|
||||
ERRO = { icon = " ", color = "error" },
|
||||
TODO = { icon = " ", color = "info" },
|
||||
WARN = { icon = " ", color = "warning" },
|
||||
HACK = { icon = " ", color = "warning" },
|
||||
PERF = { icon = " ", color = "perfect" },
|
||||
HINT = { icon = " ", color = "hint" },
|
||||
INFO = { icon = " ", color = "hint", alt = { "NOTE" } },
|
||||
TODO = { icon = " ", color = "hint" },
|
||||
INFO = { icon = " ", color = "info", alt = { "NOTE" } },
|
||||
PERF = { icon = " ", color = "perfect" },
|
||||
TEST = { icon = " ", color = "test" },
|
||||
},
|
||||
gui_style = {
|
||||
@@ -40,10 +40,10 @@ require 'todo-comments'.setup {
|
||||
colors = {
|
||||
error = { "DiagnosticSignError", "ErrorMsg", "#DC2626" },
|
||||
warning = { "DiagnosticSignWarn", "WarningMsg", "#FBBF24" },
|
||||
info = { "Comment", "#2563EB" },
|
||||
hint = { "Constant", "#10B981" },
|
||||
perfect = { "Operator", "#7C3AED" },
|
||||
test = { "Function", "#FF00FF" }
|
||||
hint = { "DiagnosticSignHint", "#10B981" },
|
||||
info = { "DiagnosticSignInfo", "#999999" },
|
||||
perfect = { "Special", "#FF00FF" },
|
||||
test = { "Identifier", "#00dddd" }
|
||||
},
|
||||
search = {
|
||||
command = "rg",
|
||||
|
Reference in New Issue
Block a user