Skip to content

Commit

Permalink
Fixing docstring for enumerations (#17)
Browse files Browse the repository at this point in the history
- Use comment.line for doc strings everywhere
  • Loading branch information
AnHeuermann authored Dec 18, 2023
1 parent aa92275 commit c1e943e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/modelica.tmGrammar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ patterns:
2:
name: entity.name.type
3:
name: string.quoted.double
name: comment.line
- match: ((function)\s+\w+\s*(".*")*)
captures:
1:
Expand All @@ -73,10 +73,10 @@ patterns:
name: string.quoted.double
patterns:
- include: "#escapes"
- match: '["\w\)\]](\s+".*"\s*);'
- match: '["\w\)\]](\s+"[^"]*"\s*);'
captures:
1:
name: string.quoted.double
name: comment.line

repository:
escapes:
Expand Down

0 comments on commit c1e943e

Please sign in to comment.