added 'null_proc' to syntax definitions
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 31 Dec 2020 17:39:55 +0000 (11:39 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 31 Dec 2020 17:39:55 +0000 (11:39 -0600)
misc/onyx.sublime-syntax
misc/onyx.vim

index f23f3e51e5adc3882a51108a0755322f6b174ff2..3ef2281347571fb441070168b991b5cf75236414 100644 (file)
@@ -35,7 +35,7 @@ contexts:
     - match: '\b(i8x16|i16x8|i32x4|i64x2|f32x4|f64x2|v128)\b'
       scope: storage.type
 
-    - match: '\b(true|false|null|context)\b'
+    - match: '\b(true|false|null|null_proc|context)\b'
       scope: constant.numeric.onyx
 
     # Numbers
index 98b95e87ae506671c57cdbc7f7c42d6c0e7238e7..bc459e555797ce61466ea7d7d9053b492ffce1ae 100644 (file)
@@ -26,7 +26,7 @@ syn keyword onyxType rawptr
 syn keyword onyxType str cstr
 syn keyword onyxType i8x16 i16x8 i32x4 i64x2 f32x4 f64x2 v128
 
-syn keyword onyxConstant        true false null
+syn keyword onyxConstant        true false null null_proc
 
 syn match onyxNumber            "\<0x[a-fA-F0-9]\+\>"
 syn match onyxNumber            "\<\d\+[lf]\=\>"