[gtksourceview/wip/chergert/test-specs-4-8: 3/3] cuda.lang: fix style-ref for kernel-call
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/test-specs-4-8: 3/3] cuda.lang: fix style-ref for kernel-call
- Date: Thu, 14 Jul 2022 06:32:31 +0000 (UTC)
commit 2b0395d8b450848cb076f3fa9a7ff51e2c787d66
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 13 23:31:49 2022 -0700
cuda.lang: fix style-ref for kernel-call
This was mapping to latex:display-math, but since that isn't loaded by
time this is accessed, it doesn't exist to be referenced.
Some effort may be needed to handle these more robustly in the future.
data/language-specs/cuda.lang | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/language-specs/cuda.lang b/data/language-specs/cuda.lang
index 88c95e0a..b74d1313 100644
--- a/data/language-specs/cuda.lang
+++ b/data/language-specs/cuda.lang
@@ -84,7 +84,7 @@
<keyword>threadIdx</keyword>
</context>
- <context id="kernel-call" style-ref="latex:display-math">
+ <context id="kernel-call" style-ref="def:string">
<start><<<</start>
<end>>>></end>
</context>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]