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 '|' ' '