vim-table-mode icon indicating copy to clipboard operation
vim-table-mode copied to clipboard

Can't use vim-table-mode on *.tex files.

Open Kcorab opened this issue 9 years ago • 6 comments

If I try to use vim-table-mode on a *.tex file I get the following error message:

Fehler beim Ausführen von "function tablemode#Enable[1]..<SNR>56_SetActive[2]..<SNR>56_ToggleSyntax[2]..tablemode#SyntaxEnable": Zeile 1: E867: (NFA) Unknown operator '%)' E71: Ungültiges Zeichen nach % E475: Ungültiges Argument: Table /^\s_(%)?\s_\zs|.+|\ze\s*$/ contains=TableBorder,TableSeparator,TableColumnAlign containedin=ALL

Kcorab avatar Mar 03 '16 14:03 Kcorab

Kindly share your vim-table-mode settings

dhruvasagar avatar Mar 09 '16 03:03 dhruvasagar

vim-table-mode settings? Where can I find them? In my vimrc I haven't defined such settings, so I think I use the default settings.

Kcorab avatar Mar 09 '16 15:03 Kcorab

Ok, can you provide your vim version details ?

dhruvasagar avatar Mar 09 '16 15:03 dhruvasagar

See pastebin please.

Kcorab avatar Mar 10 '16 13:03 Kcorab

Thanks, i'll try and make more sense of it

dhruvasagar avatar Mar 10 '16 14:03 dhruvasagar

On my vim the aligmaps \tt shortcut clashed with the vim-table-mode one.

I've worked around the issue for me with defining:

" Use AlignMaps \tt mapping, instead of vim-table-mode's one
autocmd FileType tex map \tt <Plug>AM_tt

in my vimrc.

t-b avatar Jan 04 '17 19:01 t-b