<commit_before><commit_msg>Syntax highlighting for the trace dialog<commit_after>if exists('b:current_syntax')
    finish
endif

syntax region vlime_traceObject start=/\m#</ end=/\m>/ contains=vlime_traceObject
syntax region vlime_traceString start=/\m"/ skip=/\m\\\\\|\\"/ end=/\m"/
syntax match vlime_traceNumber "-\=\(\.\d\+\|\d\+\(\.\d*\)\=\)\([dDeEfFlL][-+]\=\d\+\)\="
syntax match vlime_traceNumber "-\=\(\d\+/\d\+\)"
syntax region vlime_traceButton start=/\m\[/ end=/\m\]/

hi def link vlime_traceObject Constant
hi def link vlime_traceString String
hi def link vlime_traceNumber Number
hi def link vlime_traceButton Operator

let b:current_syntax = 'vlime_trace'
{'fraction_non_alphanumeric': 0.18507462686567164, 'fraction_numerical': 0.0, 'mean_word_length': 4.2421875, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3071868', 'n_tokens_mistral': 240, 'n_tokens_neox': 235, 'n_words': 57}