Skip to content

Commit

Permalink
Fix the highlighting of documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Oct 22, 2015
1 parent 549b094 commit 7c3ef7a
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 7c3ef7a

Please sign in to comment.