fix(highlights): improve consistency

This commit is contained in:
ObserverOfTime 2024-01-09 11:50:31 +02:00 committed by Christian Clason
parent 4cd951d703
commit 2f38c36294
22 changed files with 62 additions and 76 deletions

View file

@ -237,21 +237,3 @@
"{"
"}"
] @punctuation.bracket
; Only highlight format specifiers in calls to string.format
; string.format('...')
;(function_call
; called_object: (index
; (identifier) @base
; key: (identifier) @entry)
; arguments: (arguments .
; (string (format_specifier) @string.escape))
;
; (#eq? @base "string")
; (#eq? @entry "format"))
; ('...'):format()
;(function_call
; called_object: (method_index
; (string (format_specifier) @string.escape)
; key: (identifier) @func-name)
; (#eq? @func-name "format"))