Skip to content

Commit

Permalink
Merge pull request #43 from mmolnar/master
Browse files Browse the repository at this point in the history
Fix simple \begin{lstlisting} syntax highlighting
  • Loading branch information
cedhuf committed Aug 3, 2015
2 parents 4b7aa54 + b8a2366 commit d6680f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammars/latex.cson
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
]
}
{
'begin': '((\\\\)begin)(\\{)(lstlisting)(\\})(?:(\\[).*(\\]))?(\\s*%.*\\n?)?'
'begin': '(((\\\\)begin)(\\{)(lstlisting)(\\})(?:(\\[).*(\\]))?(\\s*%.*\\n?)?)'
'captures':
'1':
'name': 'meta.function.embedded.latex'
Expand Down

0 comments on commit d6680f0

Please sign in to comment.