mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Test with next VIMRC settings:
let g:table_mode_color_cells = 1
function! g:TableModeColorCellsCustom()
let g:table_mode_syntax_dict.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()})
hi highPriorityCell ctermfg=1 guifg=Red cterm=bold gui=bold
hi completeCell ctermfg=2 guifg=Green cterm=bold gui=bold
hi link infoCell Comment " Or make it look like comments in your colorscheme