fix(syntax): Use variable.other for TodoTxt attrs

This commit is contained in:
BANO.notIT 2022-10-29 16:55:46 +03:00
parent 316f1b3601
commit 31f964f468
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git syntaxes/02_Extra/TodoTxt/TodoTxt.sublime-syntax syntaxes/02_Extra/TodoTxt/TodoTxt.sublime-syntax
index 6c75dbb..0115978 100644
--- syntaxes/02_Extra/TodoTxt/TodoTxt.sublime-syntax
+++ syntaxes/02_Extra/TodoTxt/TodoTxt.sublime-syntax
@@ -68,7 +68,7 @@ contexts:
- match: (\s+[^\s:]+:[^\s:]+)+\s*$
comment: Custom attributes
- scope: variable.annotation.todotxt.attribute
+ scope: variable.other.todotxt.attribute
comments:
# Comments begin with a '//' and finish at the end of the line.

View File

@ -36,7 +36,7 @@
/// Complete task ///
x 2011-03-03 Call Mom
x With @contexts +projects and key:value
x With @contexts +projects and key:value
/// Not completed tasks ///
xylophone lesson
@ -55,7 +55,7 @@
Additional definition
/// Properties ///
Decide on present for Mom due:2022-01-01 pri:1
Decide on present for Mom due:2022-01-01 pri:1