From aaa078f7c3fe3a50ca6cfa8deb1c8cf96b9e808a Mon Sep 17 00:00:00 2001 From: Dmitry Matveyev Date: Mon, 17 Jun 2019 22:11:19 +0300 Subject: [PATCH] Add Dart highliting for private classes --- rc/filetype/dart.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/dart.kak b/rc/filetype/dart.kak index f61dd365..0d1101c4 100644 --- a/rc/filetype/dart.kak +++ b/rc/filetype/dart.kak @@ -60,7 +60,7 @@ evaluate-commands %sh{ annotations="@[a-zA-Z]+" functions="(_?[a-z][a-zA-Z0-9]*)(\(|\w+=>)" - classes="[A-Z][a-zA-Z0-9]*" + classes="_?[A-Z][a-zA-Z0-9]*" # Add the language's grammar to the static completion list printf %s\\n "declare-option str-list dart_static_words ${keywords} ${attributes} ${types} ${values}" | tr '|' ' '