Test with next VIMRC settings:
let g:table_mode_color_cells = 1
function! g:TableModeColorCellsCustom()
  let g:TableModeSyntaxDict.contains .= ',highPriorityCell,completeCell,infoCell'
  syntax match highPriorityCell /|\@<= *\![^|]*/ contained
  syntax match completeCell /|\@<= *X[^|]*/ contained
  syntax match infoCell /|\@<= *\/\/[^|]*/ contained
endfunction
autocmd VimEnter * call timer_start(10, {-> g:TableModeColorCellsCustom()})
This commit is contained in:
juanMarinero
2025-08-27 20:34:31 +02:00
parent e4365bde02
commit b9883bb6c6
2 changed files with 11 additions and 4 deletions

View File

@@ -132,5 +132,12 @@ augroup END
" Avoiding side effects {{{1
let &cpo = s:save_cpo
" ToggleSyntax {{{1
let g:TableModeSyntaxDict = {
\ 'contains': 'TableBorder,TableSeparator,TableColumnAlign,' .
\ 'yesCell,noCell,maybeCell,redCell,greenCell,yellowCell,blueCell,whiteCell,darkCell',
\ 'containedin': 'ALL'
\}
" ModeLine {{{
" vim: sw=2 sts=2 fdl=0 fdm=marker