<commit_before>" VimTeX - LaTeX plugin for Vim
"
" Maintainer: <NAME>
" Email:      <EMAIL>
"

function! vimtex#syntax#p#tabularx#load(cfg) abort " {{{1
  call vimtex#syntax#packages#load('array')

  " The format is \begin{tabularx}{WIDTH}[POS]{PREAMBLE}
  syntax match texCmdTabularx "\\begin{tabularx}"
        \ skipwhite skipnl
        \ nextgroup=texTabularxWidth
        \ contains=texCmdEnv
  call vimtex#syntax#core#new_arg('texTabularxWidth', {
        \ 'next': 'texTabularxPreamble,texTabularxOpt,',
        \ 'contains': 'texLength',
        \})
  call vimtex#syntax#core#new_opt('texTabularxOpt', {
        \ 'next': 'texTabularxPreamble',
        \ 'contains': 'texComment,@NoSpell',
        \})
  call vimtex#syntax#core#new_arg('texTabularxPreamble', {
        \ 'contains': '@texClusterTabular'
        \})

  highlight def link texTabularxPreamble    texOpt
  highlight def link texTabularxWidth       texOpt
  highlight def link texTabularxOpt         texEnvOpt
endfunction

" }}}1<commit_msg>Fix highlight group for texTabularxWidth to texLength<commit_after>" VimTeX - LaTeX plugin for Vim
"
" Maintainer: <NAME>
" Email:      <EMAIL>
"

function! vimtex#syntax#p#tabularx#load(cfg) abort " {{{1
  call vimtex#syntax#packages#load('array')

  " The format is \begin{tabularx}{WIDTH}[POS]{PREAMBLE}
  syntax match texCmdTabularx "\\begin{tabularx}"
        \ skipwhite skipnl
        \ nextgroup=texTabularxWidth
        \ contains=texCmdEnv
  call vimtex#syntax#core#new_arg('texTabularxWidth', {
        \ 'next': 'texTabularxPreamble,texTabularxOpt,',
        \ 'contains': 'texLength',
        \})
  call vimtex#syntax#core#new_opt('texTabularxOpt', {
        \ 'next': 'texTabularxPreamble',
        \ 'contains': 'texComment,@NoSpell',
        \})
  call vimtex#syntax#core#new_arg('texTabularxPreamble', {
        \ 'contains': '@texClusterTabular'
        \})

  highlight def link texTabularxPreamble    texOpt
  highlight def link texTabularxWidth       texLength
  highlight def link texTabularxOpt         texEnvOpt
endfunction

" }}}1
{'fraction_non_alphanumeric': 0.12578616352201258, 'fraction_numerical': 0.0019351717464925011, 'mean_word_length': 3.447311827956989, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '914486', 'n_tokens_mistral': 724, 'n_tokens_neox': 707, 'n_words': 127}