Skip to content

Commit

Permalink
Merge pull request #82 from geo2a/fix-docs-highlighting
Browse files Browse the repository at this point in the history
Fix the highlighting of documentation comments
  • Loading branch information
archaeron committed Oct 23, 2015
2 parents 549b094 + 7c3ef7a commit 9616bae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grammars/language-idris.cson
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ patterns:
match: '(--).*$\n?'
comment: 'Line comment'
}
{
name: 'comment.documentation.line.idris'
match: '(\\|\\|\\|).*$\n?'
comment: 'Line comment'
}
{
name: 'storage.type.function.idris'
match: '\\?[-!#\\$%&\\*\\+\\.\\/<=>@\\\\\^\|~:]+|[-!#\\$%&\\*\\+\\.\\/<=>@\\\\\^\|~:\\?][-!#\\$%&\\*\\+\\.\\/<=>@\\\\\^\|~:]*'
Expand All @@ -50,11 +55,6 @@ patterns:
match: '\\(\\)'
name: 'constant.unit.idris'
}
{
name: 'comment.documentation.line.idris'
match: '(\\|\\|\\|).*$\n?'
comment: 'Line comment'
}
{
name: 'comment.block.idris'
begin: '\\{-'
Expand Down

0 comments on commit 9616bae

Please sign in to comment.