I want to align a Latex table the way it appears in the final document.There are various Vim plugins for aligning tables (2, 3, 4), but none of them handle the spanning cell correctly. The code should be aligned like this:\begin{tabular}{|c|c|c|}    \multicolumn{2}{|c|}{spanning cell} & cell3 \\    cell1 & cell2                       & cell3 \\\end{tabular}but ends up looking like this:\begin{tabular}{|c|c|c|}    \multicolumn{2}{|c|}{spanning cell} & cell3 \\    cell1                               & cell2 & cell3 \\\end{tabular}
How to align a Latex table that uses \multicolumn?
formatting;filetype tex;alignment