From d6bb2450cf0bf6f7b097f8ee102cb472c04ade88 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 3 Nov 2022 13:55:13 +0100 Subject: [PATCH] :art: Update editor stuff to include primitive --- highlighters/gwion.kak | 2 +- highlighters/gwion.nanorc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/highlighters/gwion.kak b/highlighters/gwion.kak index d2d5ff56..a2c0237d 100644 --- a/highlighters/gwion.kak +++ b/highlighters/gwion.kak @@ -28,7 +28,7 @@ provide-module -override gwion %{ types='auto int float bool dur time void Object Shred Event' values='true false none this now me adc dac maybe' builtins='__file__ __line__ __func__' - entities='class struct trait union enum' + entities='class struct trait union enum primitive' operators='\\\? : \$ @ \\\+ - \\\* / % \~ \< \> \\\^ \\\| \& ! =' join() { sep=$2; eval set -- $1; IFS="$sep"; echo "$*"; } diff --git a/highlighters/gwion.nanorc b/highlighters/gwion.nanorc index 52729fa1..77f7969c 100644 --- a/highlighters/gwion.nanorc +++ b/highlighters/gwion.nanorc @@ -42,7 +42,7 @@ color lightred "\<(second|ms|day|samp|minute|hour)\>" color brightcyan "\<(maybe)\>" color cyan "\<(adc|blackhole)\>" -color brightgreen "\<(try|handle|perform|retry|class|struct|trait|union|enum|fun|locale|operator|funptr|typedef|distinct|new)\>" +color brightgreen "\<(try|handle|perform|retry|class|struct|trait|union|enum|primitive|fun|locale|operator|funptr|typedef|distinct|new)\>" color italic,red start="#\<(pragma|include|define|ifdef|ifndef|undef|endif|import|locale)\>" end="$" color italic,red "#locale" color italic,yellow "extends" -- 2.43.0