aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-16 14:44:55 +0100
committerDavid Robillard <d@drobilla.net>2020-02-16 15:49:51 +0100
commitd2bd47c38be8ca75385a8de5f8ce32003d790429 (patch)
treeb42ca187532b758ae41c2436617a3f1f314611d3 /plugins
parent66985fb0748b6e4397ea9115d81088071984867c (diff)
downloadlv2-d2bd47c38be8ca75385a8de5f8ce32003d790429.tar.xz
Use standard Turtle lexer in Pygments
A Turtle lexer was finally added in Pygments 2.1.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-sampler.lv2/peaks.h2
-rw-r--r--plugins/eg-sampler.lv2/uris.h4
-rw-r--r--plugins/eg-scope.lv2/examploscope.c2
-rwxr-xr-xplugins/literasc.py4
4 files changed, 6 insertions, 6 deletions
diff --git a/plugins/eg-sampler.lv2/peaks.h b/plugins/eg-sampler.lv2/peaks.h
index a5bd267..45d3465 100644
--- a/plugins/eg-sampler.lv2/peaks.h
+++ b/plugins/eg-sampler.lv2/peaks.h
@@ -120,7 +120,7 @@ peaks_sender_start(PeaksSender* sender,
Forge a message which sends a range of peaks. Writes a peaks:PeakUpdate
object to `forge`, like:
- [source,n3]
+ [source,turtle]
----
[]
a peaks:PeakUpdate ;
diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h
index b3639bc..1609db7 100644
--- a/plugins/eg-sampler.lv2/uris.h
+++ b/plugins/eg-sampler.lv2/uris.h
@@ -73,7 +73,7 @@ map_sampler_uris(LV2_URID_Map* map, SamplerURIs* uris)
/**
Write a message like the following to `forge`:
- [source,n3]
+ [source,turtle]
----
[]
a patch:Set ;
@@ -102,7 +102,7 @@ write_set_file(LV2_Atom_Forge* forge,
/**
Get the file path from `obj` which is a message like:
- [source,n3]
+ [source,turtle]
----
[]
a patch:Set ;
diff --git a/plugins/eg-scope.lv2/examploscope.c b/plugins/eg-scope.lv2/examploscope.c
index aa542c8..a4f5f3f 100644
--- a/plugins/eg-scope.lv2/examploscope.c
+++ b/plugins/eg-scope.lv2/examploscope.c
@@ -168,7 +168,7 @@ connect_port(LV2_Handle handle,
This function forges a message for sending a vector of raw data. The object
is a http://lv2plug.in/ns/ext/atom#Blank[Blank] with a few properties, like:
- [source,n3]
+ [source,turtle]
--------
[]
a sco:RawAudio ;
diff --git a/plugins/literasc.py b/plugins/literasc.py
index 5c5b80e..0bcd8f2 100755
--- a/plugins/literasc.py
+++ b/plugins/literasc.py
@@ -87,7 +87,7 @@ def format_ttl_source(filename, file):
chunk = line
else:
if is_comment:
- output += format_code('n3', chunk)
+ output += format_code('turtle', chunk)
in_comment = True
chunk = line.strip().lstrip('# ') + ' \n'
else:
@@ -96,7 +96,7 @@ def format_ttl_source(filename, file):
if in_comment:
return output + format_text(chunk)
else:
- return output + format_code('n3', chunk)
+ return output + format_code('turtle', chunk)
def gen(out, filenames):
for filename in filenames: