<commit_before>set lbr              " if wrapping, only break on whitespace
set nowrap           " do not wrap text
set smartindent      " fully indent multi-line comments

set expandtab        " use spaces instead of tabs
set shiftwidth=3     " set 'shift' size
set softtabstop=3    " set 'tab' size during indent mode
set tabstop=3        " set tab character size

set textwidth=80
set colorcolumn=80

" use autocmd in event syntax is toggled after the buffer loads
augroup DefaultSyntaxHighlighting
   autocmd!
   " highlight lines longer than 90 characters
   autocmd BufWinEnter * highlight OverLength guibg=#341818
   autocmd BufWinEnter * match OverLength /\%91v.*/

   " extended syntax highlighting
   " java 'new', 'instanceof'
   autocmd BufWinEnter * highlight Operator ctermfg=5  guifg=#d175bc
   " java 'this', 'super'
   autocmd BufWinEnter * highlight Typedef  ctermfg=5  guifg=#d175bc
   " java 'void', 'int', 'double'
   autocmd BufWinEnter * highlight Type     ctermfg=4  guifg=#7cafc2
   " literal numbers
   autocmd BufWinEnter * highlight Number term=bold ctermfg=16 gui=bold guifg=#d2d22d<commit_msg>Set Vim default auto-format options<commit_after>set lbr              " if wrapping, only break on whitespace
set nowrap           " do not wrap text
set smartindent      " fully indent multi-line comments

set expandtab        " use spaces instead of tabs
set shiftwidth=3     " set 'shift' size
set softtabstop=3    " set 'tab' size during indent mode
set tabstop=3        " set tab character size

set textwidth=80     " line length before wrapping text
set colorcolumn=80

" default text auto-format options (:help fo-table)
" c = auto-wrap comments, insert leader
" j = remove leader joining lines
" l = do not break long lines in insert mode (ENABLE for source code)
" n = auto-indent numbered lists
" o = auto-insert comment leader after 'o' from normal mode
" q = format comments with 'gq'
" r = auto-insert comment leader after <CR>
" t = auto-wrap text (DISABLE for source code)
set formatoptions+=cjnoqrt

" use autocmd in event syntax is toggled after the buffer loads
augroup DefaultSyntaxHighlighting
   autocmd!
   " highlight lines longer than 90 characters
   autocmd BufWinEnter * highlight OverLength guibg=#341818
   autocmd BufWinEnter * match OverLength /\%91v.*/

   " extended syntax highlighting
   " java 'new', 'instanceof'
   autocmd BufWinEnter * highlight Operator ctermfg=5  guifg=#d175bc
   " java 'this', 'super'
   autocmd BufWinEnter * highlight Typedef  ctermfg=5  guifg=#d175bc
   " java 'void', 'int', 'double'
   autocmd BufWinEnter * highlight Type     ctermfg=4  guifg=#7cafc2
   " literal numbers
   autocmd BufWinEnter * highlight Number term=bold ctermfg=16 gui=bold guifg=#d2d22d
{'fraction_non_alphanumeric': 0.06989443028758646, 'fraction_numerical': 0.024026210411357846, 'mean_word_length': 3.6340640809443507, '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': '3806057', 'n_tokens_mistral': 887, 'n_tokens_neox': 818, 'n_words': 312}