diff --git a/Syntaxes/Nim.YAML-tmLanguage b/Syntaxes/Nim.YAML-tmLanguage index 84c1c19..a36ee0e 100644 --- a/Syntaxes/Nim.YAML-tmLanguage +++ b/Syntaxes/Nim.YAML-tmLanguage @@ -196,7 +196,7 @@ patterns: - comment: Other keywords. name: keyword.other.nim - match: ((?comment Other keywords. match - ((?<![\w\x{80}-\x{10FFFF}])(addr|as|atomic|bind|cast|concept|const|converter|defer|discard|distinct|div|enum|export|from|import|include|let|mixin|object|of|ptr|ref|shl|shr|static|type|using|var)(?![\w\x{80}-\x{10FFFF}])) + ((?<![\w\x{80}-\x{10FFFF}])(addr|as|bind|cast|concept|const|converter|defer|discard|distinct|div|enum|export|from|import|include|let|mixin|object|of|out|ptr|ref|shl|shr|static|type|using|var)(?![\w\x{80}-\x{10FFFF}])) name keyword.other.nim @@ -629,7 +629,7 @@ comment Invalid and unused keywords. match - ((?<![\w\x{80}-\x{10FFFF}])(generic|interface|lambda|out|shared|with|without)(?![\w\x{80}-\x{10FFFF}])) + ((?<![\w\x{80}-\x{10FFFF}])(interface)(?![\w\x{80}-\x{10FFFF}])) name keyword.invalid.nim @@ -653,7 +653,7 @@ comment Built-in, generic types. match - (?<![\w\x{80}-\x{10FFFF}])(range|array|seq|tuple|natural|set|ref|ptr|pointer)(?![\w\x{80}-\x{10FFFF}]) + (?<![\w\x{80}-\x{10FFFF}])(range|array|seq|tuple|Natural|set|ref|ptr|pointer)(?![\w\x{80}-\x{10FFFF}]) name storage.type.generic.nim