Changed todo pattern to require :

This commit is contained in:
Dreaded_X 2023-04-10 00:18:23 +02:00
parent c7e652d93a
commit 3094523b19
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -40,10 +40,10 @@ return {
-- TODO: Have multiline, but end when %p (punctuation) is at the end of a line
multiline = false,
before = "fg",
pattern = [[(KEYWORDS)\s*(\([^\)]*\))?:?]],
pattern = [[(KEYWORDS)\s*(\([^\)]*\))?:]],
},
search = {
pattern = [[\b(KEYWORDS)(\(.*\))?:?]]
pattern = [[\b(KEYWORDS)(\(.*\))?:]]
},
colors = {
error = { "DiagnosticError", "ErrorMsg", "#DC2626" },