<commit_before>" My own, personal vim theme
"
" Theme made by <NAME> <<EMAIL>>
" Released under the UNLICENSE license, aka public domain

set background=dark
let g:colors_name = "pietroalbini"

hi clear
if exists("syntax on")
    syntax reset
endif

" Vim UI
hi Normal ctermfg=15 ctermbg=234
hi LineNr ctermfg=247 ctermbg=NONE
hi CursorLineNr ctermfg=15 ctermbg=235
hi ColorColumn ctermfg=15 ctermbg=235
hi Visual ctermbg=236
hi CursorLine ctermbg=235 cterm=NONE
hi SignColumn ctermbg=234

" General syntax
hi Comment ctermfg=240 ctermbg=NONE
hi Constant ctermfg=99 ctermbg=NONE
hi Identifier ctermfg=15 ctermbg=NONE
hi Statement ctermfg=221 ctermbg=NONE
hi PreProc ctermfg=221 ctermbg=NONE
hi Type ctermfg=74 ctermbg=NONE
hi Special ctermfg=99 ctermbg=NONE

hi String ctermfg=83 ctermbg=NONE
hi link Character String

" Python syntax
hi link pythonExceptions Identifier
hi link pythonDecorator Identifier
hi link pythonBuiltin Identifier

" HTML syntax
hi htmlStatement ctermfg=141 ctermbg=NONE
hi link htmlTag htmlStatement
hi link htmlEndTag htmlTag
hi htmlLink ctermfg=15 ctermbg=NONE cterm=underline

" CSS syntax
hi link atKeyword Statement
hi link cssClassName Statement
hi link cssIdentifier Statement
hi cssProp ctermfg=147 ctermbg=NONE
hi link cssAttr Identifier

" bash syntax
hi link shQuote shString
hi link shShellVariables Type
hi link PreProc Type
hi link shDeref shShellVariables
hi link shDerefOp shShellVariables
hi link shDerefDelim shShellVariables

" JavaScript syntax
hi link javaScriptIdentifier Keyword
hi link javaScriptFunction Keyword
hi link javaScriptGlobal Identifier
hi link javaScriptMember Identifier
hi link javaScriptNull Type
hi link javaScriptBoolean Type
hi link javaScriptNumber Constant

" YAML syntax
hi link yamlBlockMappingKey Type
hi link yamlBlockCollectionItemStart Type
hi link yamlKeyValueDelimiter Type

" git commit syntax
hi link gitcommitFile Identifier
hi link gitcommitSelected String
hi link gitcommitSelectedType String
hi link gitcommitDiscarded Comment
hi link gitcommitDiscardedType Comment

" rst syntax
hi link rstSections Type

" rust syntax
hi link rustModPath Identifier
hi link rustModPathSep Identifier
hi link rustEnum Identifier
hi link rustEnumVariant Idetifier
hi link rustType Identifier
hi link rustSelf Identifier
hi link rustAttribute Comment
hi link rustDerive Comment

" toml syntax
hi link tomlTable Special

" make syntax
hi link makeCommands Identifier
hi link makeTarget Constant
hi link makeIdent Type
hi makeSpecial cterm=bold ctermfg=15 ctermbg=NONE

" I know I shouldn't do this, but that's the only way to remove colors on the
" header of a section, unfortunately
autocmd FileType gitcommit :syntax clear gitcommitHeader
<commit_msg>Add a little tweak for sass syntax in the vim config<commit_after>" My own, personal vim theme
"
" Theme made by <NAME> <<EMAIL>>
" Released under the UNLICENSE license, aka public domain

set background=dark
let g:colors_name = "pietroalbini"

hi clear
if exists("syntax on")
    syntax reset
endif

" Vim UI
hi Normal ctermfg=15 ctermbg=234
hi LineNr ctermfg=247 ctermbg=NONE
hi CursorLineNr ctermfg=15 ctermbg=235
hi ColorColumn ctermfg=15 ctermbg=235
hi Visual ctermbg=236
hi CursorLine ctermbg=235 cterm=NONE
hi SignColumn ctermbg=234

" General syntax
hi Comment ctermfg=240 ctermbg=NONE
hi Constant ctermfg=99 ctermbg=NONE
hi Identifier ctermfg=15 ctermbg=NONE
hi Statement ctermfg=221 ctermbg=NONE
hi PreProc ctermfg=221 ctermbg=NONE
hi Type ctermfg=74 ctermbg=NONE
hi Special ctermfg=99 ctermbg=NONE

hi String ctermfg=83 ctermbg=NONE
hi link Character String

" Python syntax
hi link pythonExceptions Identifier
hi link pythonDecorator Identifier
hi link pythonBuiltin Identifier

" HTML syntax
hi htmlStatement ctermfg=141 ctermbg=NONE
hi link htmlTag htmlStatement
hi link htmlEndTag htmlTag
hi htmlLink ctermfg=15 ctermbg=NONE cterm=underline

" CSS syntax
hi link atKeyword Statement
hi link cssClassName Statement
hi link cssIdentifier Statement
hi cssProp ctermfg=147 ctermbg=NONE
hi link cssAttr Identifier

" bash syntax
hi link shQuote shString
hi link shShellVariables Type
hi link PreProc Type
hi link shDeref shShellVariables
hi link shDerefOp shShellVariables
hi link shDerefDelim shShellVariables

" JavaScript syntax
hi link javaScriptIdentifier Keyword
hi link javaScriptFunction Keyword
hi link javaScriptGlobal Identifier
hi link javaScriptMember Identifier
hi link javaScriptNull Type
hi link javaScriptBoolean Type
hi link javaScriptNumber Constant

" YAML syntax
hi link yamlBlockMappingKey Type
hi link yamlBlockCollectionItemStart Type
hi link yamlKeyValueDelimiter Type

" git commit syntax
hi link gitcommitFile Identifier
hi link gitcommitSelected String
hi link gitcommitSelectedType String
hi link gitcommitDiscarded Comment
hi link gitcommitDiscardedType Comment

" rst syntax
hi link rstSections Type

" rust syntax
hi link rustModPath Identifier
hi link rustModPathSep Identifier
hi link rustEnum Identifier
hi link rustEnumVariant Idetifier
hi link rustType Identifier
hi link rustSelf Identifier
hi link rustAttribute Comment
hi link rustDerive Comment

" toml syntax
hi link tomlTable Special

" sass/css syntax
hi link sassVariable Type

" make syntax
hi link makeCommands Identifier
hi link makeTarget Constant
hi link makeIdent Type
hi makeSpecial cterm=bold ctermfg=15 ctermbg=NONE

" I know I shouldn't do this, but that's the only way to remove colors on the
" header of a section, unfortunately
autocmd FileType gitcommit :syntax clear gitcommitHeader

{'fraction_non_alphanumeric': 0.030061571894241218, 'fraction_numerical': 0.02028250633828323, 'mean_word_length': 6.117268041237113, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2105837', 'n_tokens_mistral': 1747, 'n_tokens_neox': 1651, 'n_words': 692}