Skip to content

Commit

Permalink
onsider Elaboration in infix grammar
Browse files Browse the repository at this point in the history
Infix grammar handles multiline cases like `plus`.
however elaboration scripts know the terms `(x), `{x} and `{{x}}
resulting in unclosed backticks which trip the grammar.
This is an attempt to exclude these special cases in the handling
of infix functions.
  • Loading branch information
Markus Klink committed Sep 12, 2018
1 parent 1ff14b0 commit 76f8d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammars/language-idris.cson
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ patterns:
}
{
name: 'keyword.operator.function.infix.idris'
begin: '`'
begin: '`(?![\{|\(])'
beginCaptures:
0:
name: 'punctuation.definition.entity.idris'
Expand Down

0 comments on commit 76f8d95

Please # to comment.