From 8f5c3cc4294b392d6ea348f7af4f14607143835f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 20 Jun 2020 23:03:33 +0530 Subject: [PATCH] kotlin: add sealed as a class modifier Signed-off-by: Harsh Shandilya --- kotlin.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin.nanorc b/kotlin.nanorc index a69516f..bde7592 100644 --- a/kotlin.nanorc +++ b/kotlin.nanorc @@ -8,7 +8,7 @@ syntax "kotlin" "\.kt$" "\.kts$" color magenta "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "\b0x[1-9a-f][0-9a-f]*\b" color yellow "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&" -color green "\<(namespace|as|type|class|this|super|val|var|fun|is|in|object|when|trait|import|where|by|get|set|abstract|enum|open|annotation|override|private|public|internal|protected|out|vararg|inline|final|package|lateinit|constructor|companion|const|suspend)\>" +color green "\<(namespace|as|type|class|this|super|val|var|fun|is|in|object|when|trait|import|where|by|get|set|abstract|enum|open|annotation|override|private|public|internal|protected|out|vararg|inline|final|package|lateinit|constructor|companion|const|suspend|sealed)\>" color yellow "\<(true|false|null)\>" color cyan "\<(break|catch|continue|do|else|finally|for|if|return|throw|try|while|repeat)\>" color brightred "\<(inner|outer)\>"