Remove "identifier.class" rule to reduce complexities

This commit is contained in:
2025-06-15 14:06:04 -04:00
parent 6e8f69839f
commit f61d32e75f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ func init() {
syntaxMap["csharp"] = &lazySyntax{init: func() []byte {
return []byte(`filetype: csharp
rules:
- identifier.class: "class +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
- identifier.macro: "class +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
- identifier.var: "@[A-Za-z]+"
- identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
- type: "\\b(bool|byte|sbyte|char|decimal|double|float|IntPtr|int|uint|long|ulong|object|short|ushort|string|base|this|var|void)\\b"