From 7e265143af4ccd9d3614c8aca6e3ee1cbd809c7d Mon Sep 17 00:00:00 2001 From: Hugues Larrive Date: Tue, 9 Jun 2020 21:10:02 +1000 Subject: Feature [feature-requests:1358]. Support lstlisting environment that is similar to verbatim. --- lexilla/test/examples/latex/Feature1358.tex | 10 ++++++++++ lexilla/test/examples/latex/Feature1358.tex.styled | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 lexilla/test/examples/latex/Feature1358.tex create mode 100644 lexilla/test/examples/latex/Feature1358.tex.styled (limited to 'lexilla') diff --git a/lexilla/test/examples/latex/Feature1358.tex b/lexilla/test/examples/latex/Feature1358.tex new file mode 100644 index 000000000..88863303f --- /dev/null +++ b/lexilla/test/examples/latex/Feature1358.tex @@ -0,0 +1,10 @@ +\begin{lstlisting}[language=make] +# If no BOARD is found in the environment, use this default: +BOARD ?= bluepill + +# To use chinese st-link v2 and ch340 dongle with bluepill +ifeq ($(BOARD),bluepill) +STLINK_VERSION=2 +PORT_LINUX=/dev/ttyUSB0 +endif +\end{lstlisting} diff --git a/lexilla/test/examples/latex/Feature1358.tex.styled b/lexilla/test/examples/latex/Feature1358.tex.styled new file mode 100644 index 000000000..e753ea14d --- /dev/null +++ b/lexilla/test/examples/latex/Feature1358.tex.styled @@ -0,0 +1,10 @@ +{1}\begin{2}{lstlisting}{8}[language=make] +# If no BOARD is found in the environment, use this default: +BOARD ?= bluepill + +# To use chinese st-link v2 and ch340 dongle with bluepill +ifeq ($(BOARD),bluepill) +STLINK_VERSION=2 +PORT_LINUX=/dev/ttyUSB0 +endif +{1}\end{5}{lstlisting}{0} -- cgit v1.2.3