<commit_before>if exists("b:current_syntax") | finish | endif
let b:current_syntax = "n"
setlocal nomodeline

syn keyword nInclude import from
syn match nFunLine "\((\(fun\|\(shallow\s\+\)\?met\).*)\|\(fun\|\(shallow\s\+\)\?met\)[\$!#]\?\)\s\+\w\+" contains=nIntf,nDeclFun,nFun,nWildcard
syn match nFun "\w\+" contained
syn keyword nDeclFun fun met shallow contained
syn keyword nDecl union struct enum atom intf newtype
syn keyword nStorageClass inline extern opaque
syn keyword nExport export
syn keyword nSemantic unique shared pshared
syn keyword nSemantic capturedby capturedbyret owned ownedby protected protect protecting prop claim logic

syn keyword nAssert assert pre post invariant
syn keyword nDecl example alias within globalenv
syn keyword nDecl contract honors _honors

syn keyword nConditional if elif else match try catch
syn keyword nRepeat while for pfor foreach pforeach
syn keyword nKeyword var let block lambda async such
syn keyword nStatement return continue break unreached
syn keyword nConditional and or
syn match nDecl "^  isa" contains=nExport
syn keyword nOperator sizeof alignof nullable isa Dyncast not in
syn keyword nKeyword noop as declare new
syn keyword nException except throw drop fatal never Drop Fatal
syn match nOperator ":"
syn match nOperator "\(ov<<\|>>\|<=\|>=\|<\|>\|===\|!==\|==|\|!=|\|==\|!=\||\)"
syn match nOperator "\(@\|&\|\(ov\)\?[+\-\*/%&|\^~]\)"
syn match nOperator "\(ov\)\?[\:+\-\*/%&|\^~]\?="

syn match nSemantic "::"

syn keyword nKeyword self this final

syn keyword Constant nil false true

syn region nComment start="--" skip="\\$" end="$" keepend contains=@Spell,nTodo
syn region nComment start="--(" end=")--" keepend contains=@Spell,nTodo
syn keyword nTodo contained TODO FIXME XXX

syn region nSemantic start="^\s*#[!~?]" end="$" keepend
syn match nMutate "[!]$"
syn match nMutate "[!][^=]"me=e-1
syn match nMercurial "#"
syn match nNullable "?"<commit_msg>utils:vim syntax: highlight 'never' like an assert<commit_after>if exists("b:current_syntax") | finish | endif
let b:current_syntax = "n"
setlocal nomodeline

syn keyword nInclude import from
syn match nFunLine "\((\(fun\|\(shallow\s\+\)\?met\).*)\|\(fun\|\(shallow\s\+\)\?met\)[\$!#]\?\)\s\+\w\+" contains=nIntf,nDeclFun,nFun,nWildcard
syn match nFun "\w\+" contained
syn keyword nDeclFun fun met shallow contained
syn keyword nDecl union struct enum atom intf newtype
syn keyword nStorageClass inline extern opaque
syn keyword nExport export
syn keyword nSemantic unique shared pshared
syn keyword nSemantic capturedby capturedbyret owned ownedby protected protect protecting prop claim logic

syn keyword nAssert assert pre post invariant never
syn keyword nDecl example alias within globalenv
syn keyword nDecl contract honors _honors

syn keyword nConditional if elif else match try catch
syn keyword nRepeat while for pfor foreach pforeach
syn keyword nKeyword var let block lambda async such
syn keyword nStatement return continue break unreached
syn keyword nConditional and or
syn match nDecl "^  isa" contains=nExport
syn keyword nOperator sizeof alignof nullable isa Dyncast not in
syn keyword nKeyword noop as declare new
syn keyword nException except throw drop fatal Drop Fatal
syn match nOperator ":"
syn match nOperator "\(ov<<\|>>\|<=\|>=\|<\|>\|===\|!==\|==|\|!=|\|==\|!=\||\)"
syn match nOperator "\(@\|&\|\(ov\)\?[+\-\*/%&|\^~]\)"
syn match nOperator "\(ov\)\?[\:+\-\*/%&|\^~]\?="

syn match nSemantic "::"

syn keyword nKeyword self this final

syn keyword Constant nil false true

syn region nComment start="--" skip="\\$" end="$" keepend contains=@Spell,nTodo
syn region nComment start="--(" end=")--" keepend contains=@Spell,nTodo
syn keyword nTodo contained TODO FIXME XXX

syn region nSemantic start="^\s*#[!~?]" end="$" keepend
syn match nMutate "[!]$"
syn match nMutate "[!][^=]"me=e-1
syn match nMercurial "#"
syn match nNullable "?"
{'fraction_non_alphanumeric': 0.1440699768458966, 'fraction_numerical': 0.0005145356315924878, 'mean_word_length': 4.99075500770416, 'pattern_counts': {'":': 4, '<': 11, '<?xml version=': 0, '>': 11, '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': '2095162', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1185, 'n_words': 466}