<commit_before>" JAVA filetype configuration

" set compiler, build java classes, open quikcfix window
map <silent><F2> :w<cr>:compiler gradlew<cr>:make classes<cr><cr>
" TIP: Use vim-unimpaired to navigate the quickfixes
"        ]q    Next error
"        [q    Previous error
"        [Q    First error
"        ]Q    Last error

" increase max line length
set textwidth=100
set colorcolumn=100

" use autocmd in event syntax is toggled after the buffer loads
augroup JavaSyntaxHighlighting
   autocmd!
   autocmd BufWinEnter *.java match OverLength /\%101v.*/

   " highlight operators like +, -, =, >, <, etc ...
   autocmd BufWinEnter *.java syntax match symOperator '\v/(/|*)@!' " slash, except if followed by slash or star
   autocmd BufWinEnter *.java syntax match symOperator '\v\!'
   autocmd BufWinEnter *.java syntax match symOperator '\v\%'
   autocmd BufWinEnter *.java syntax match symOperator '\v\&'
   autocmd BufWinEnter *.java syntax match symOperator '\v\*'
   autocmd BufWinEnter *.java syntax match symOperator '\v\+'
   autocmd BufWinEnter *.java syntax match symOperator '\v\,'
   autocmd BufWinEnter *.java syntax match symOperator '\v\-'
   autocmd BufWinEnter *.java syntax match symOperator '\v\.'
   autocmd BufWinEnter *.java syntax match symOperator '\v\:'
   autocmd BufWinEnter *.java syntax match symOperator '\v\;'<commit_msg>Atuo-close the Gradle output after running compilation<commit_after>" JAVA filetype configuration

" set compiler, build java classes, jump to first error
compiler gradlew
map <silent> <leader>m     :update<bar>make classes<cr><cr>
" TIP: Use vim-unimpaired to navigate the quickfixes
"        ]q    Next error
"        [q    Previous error
"        [Q    First error
"        ]Q    Last error

" increase max line length
set textwidth=100
set colorcolumn=100

" use autocmd in event syntax is toggled after the buffer loads
augroup JavaSyntaxHighlighting
   autocmd!
   autocmd BufWinEnter *.java match OverLength /\%101v.*/

   " highlight operators like +, -, =, >, <, etc ...
   autocmd BufWinEnter *.java syntax match symOperator '\v/(/|*)@!' " slash, except if followed by slash or star
   autocmd BufWinEnter *.java syntax match symOperator '\v\!'
   autocmd BufWinEnter *.java syntax match symOperator '\v\%'
   autocmd BufWinEnter *.java syntax match symOperator '\v\&'
   autocmd BufWinEnter *.java syntax match symOperator '\v\*'
   autocmd BufWinEnter *.java syntax match symOperator '\v\+'
   autocmd BufWinEnter *.java syntax match symOperator '\v\,'
   autocmd BufWinEnter *.java syntax match symOperator '\v\-'
   autocmd BufWinEnter *.java syntax match symOperator '\v\.'
   autocmd BufWinEnter *.java syntax match symOperator '\v\:'
   autocmd BufWinEnter *.java syntax match symOperator '\v\;'
{'fraction_non_alphanumeric': 0.10349801658853228, 'fraction_numerical': 0.006851785070320952, 'mean_word_length': 3.510569105691057, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '88861', 'n_tokens_mistral': 900, 'n_tokens_neox': 816, 'n_words': 314}