diff options
| author | Tormod Alf Try Tufteland <tormodat.tufteland@eika.no> | 2020-12-20 19:31:04 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-12-20 22:59:40 +0100 |
| commit | a8438b8bbf9178f99c81c769d6e907ddabaa2e7a (patch) | |
| tree | 1db02f0b0a43ef0ed28ed4e994a6fd365ebc3f86 /queries | |
| parent | 1ad1f3b35afda469605ea8f6f0961dd4fa58e53d (diff) | |
stricter regex kotlin constants
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/kotlin/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm index bc60a46a..655ac798 100644 --- a/queries/kotlin/highlights.scm +++ b/queries/kotlin/highlights.scm @@ -41,9 +41,9 @@ ;; Constants ; Assume all-caps names are constants ((simple_identifier) @constant - (#match? @constant "^[A-Z][A-Z_]+")) + (#match? @constant "^[A-Z][A-Z_0-9]+$")) ((interpolated_identifier) @constant - (#vim-match? @constant "^[A-Z][A-Z_]+")) + (#vim-match? @constant "^[A-Z][A-Z_0-9]+$")) (lambda_parameters) @parameter |
