From 11030d0870bcdb6b86f93173de6f7aece50647cc Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Mon, 20 Jan 2020 11:27:23 +0100 Subject: [PATCH] Add support for sisl/pygments-julia lexer The lexer provided by https://github.com/sisl/pygments-julia is vastly superior to the standard julia lexer. This PR adds support for this lexer and the two environments that it provides. --- grammars/latex.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/latex.cson b/grammars/latex.cson index 982f90e..9ede78d 100644 --- a/grammars/latex.cson +++ b/grammars/latex.cson @@ -970,7 +970,7 @@ ] } { - 'begin': '(?:\\s*)(((\\\\)begin)(\\{)(minted)(\\})(?:(\\[).*(\\]))?(\\{)(julia|jl)(\\})(\\s*%.*\\n?)?)' + 'begin': '(?:\\s*)(((\\\\)begin)(\\{)(minted)(\\})(?:(\\[).*(\\]))?(\\{)(julia|jl|julia1|jlcon1)(\\})(\\s*%.*\\n?)?)' 'captures': '1': 'name': 'meta.function.embedded.latex'