<commit_before>let g:LatexBox_Folding=1
let g:LatexBox_latexmk_async = 1

" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'
let g:tex_verbspell=1
let g:tex_conceal = ''

if !exists('g:deoplete#omni#input_patterns')
	let g:deoplete#omni#input_patterns = {}
endif
let g:deoplete#omni#input_patterns.tex = 
			\   '\\(?:'
			\  .   '\w*cite\w*(?:\s*\[[^]]*\]){0,2}\s*{[^}]*'
			\  .  '|\w*ref(?:\s*\{[^}]*|range\s*\{[^,}]*(?:}{)?)'
			\  .  '|\w*begin\s*\{[^}]*'
			\  .  '|\w*end\s*\{[^}]*'
			\  .')'<commit_msg>Adding a deoplete input pattern for TeX<commit_after>let g:LatexBox_Folding=1
let g:LatexBox_latexmk_async = 1

" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'
let g:tex_verbspell=1
let g:tex_conceal = ''

if !exists('g:deoplete#omni#input_patterns')
	let g:deoplete#omni#input_patterns = {}
endif
let g:deoplete#omni#input_patterns.tex = 
			\   '\\(?:'
			\  .   '[^ {[]*'
			\  .  '|\w*cite\w*(?:\s*\[[^]]*\]){0,2}\s*{[^}]*'
			\  .  '|\w*ref(?:\s*\{[^}]*|range\s*\{[^,}]*(?:}{)?)'
			\  .  '|\w*begin\s*\{[^}]*'
			\  .  '|\w*end\s*\{[^}]*'
			\  .')'
{'fraction_non_alphanumeric': 0.2413554633471646, 'fraction_numerical': 0.008298755186721992, 'mean_word_length': 3.7598684210526314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1950538', 'n_tokens_mistral': 678, 'n_tokens_neox': 632, 'n_words': 116}