diff options
| author | Dmitry Matveyev <dm.matveyev@protonmail.com> | 2019-06-17 22:11:19 +0300 |
|---|---|---|
| committer | Dmitry Matveyev <dm.matveyev@protonmail.com> | 2019-06-17 22:11:19 +0300 |
| commit | aaa078f7c3fe3a50ca6cfa8deb1c8cf96b9e808a (patch) | |
| tree | 8c6776fd7915711b977c802b6f3006f15facf309 | |
| parent | 9d528227021e14806394971c797c6e5a1fbc1b69 (diff) | |
Add Dart highliting for private classes
| -rw-r--r-- | rc/filetype/dart.kak | 2 |
1 files changed, 1 insertions, 1 deletions
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 '|' ' ' |
