Todo : Add LINK keyword.

This commit is contained in:
Dmitry Voronin 2024-08-16 06:22:56 +03:00
parent 0ef9750dd4
commit 08009cb76f
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -4,16 +4,13 @@
sign_priority = 8, sign_priority = 8,
signs = false, signs = false,
keywords = { keywords = {
FIX = { FIX = { icon = " ", color = "error", alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, },
alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, HACK = { icon = " ", color = "warning", alt = { "WTF", "LOL", "KEKW" } },
color = "error", LINK = { icon = "󰌷 ", color = "info", alt = { "REF", "SEE", "MORE", "ALSO", "SOURCE", "SRC" } },
icon = " ", NOTE = { icon = "󰎚 ", color = "hint", alt = { "INFO" } },
}, PERF = { icon = " ", color = "default", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
HACK = { icon = " ", color = "warning" }, TEST = { icon = " ", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
NOTE = { icon = " ", color = "hint", alt = { "INFO" } }, TODO = { icon = " ", color = "info", alt = { "LATER", "FUTURE", "ROADMAP" }},
PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
TEST = { icon = " ", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
TODO = { icon = " ", color = "info" },
WARN = { icon = " ", color = "warning", alt = { "WARNING", "XXX" } }, WARN = { icon = " ", color = "warning", alt = { "WARNING", "XXX" } },
}, },
gui_style = { gui_style = {
@ -34,12 +31,12 @@
pattern = [[.*<(KEYWORDS)\s*:]], pattern = [[.*<(KEYWORDS)\s*:]],
}, },
colors = { colors = {
default = { "Identifier", "#7C3AED" }, default = { "Identifier", "#7C3AED" },
error = { "DiagnosticError", "ErrorMsg", "#DC2626" }, error = { "DiagnosticError", "ErrorMsg", "#DC2626" },
hint = { "DiagnosticHint", "#10B981" }, hint = { "DiagnosticHint", "#10B981" },
info = { "DiagnosticInfo", "#2563EB" }, info = { "DiagnosticInfo", "#2563EB" },
test = { "Identifier", "#FF00FF" }, test = { "Identifier", "#FF00FF" },
warning = { "DiagnosticWarn", "WarningMsg", "#FBBF24" }, warning = { "DiagnosticWarn", "WarningMsg", "#FBBF24" },
}, },
search = { search = {
command = "rg", command = "rg",