vim-pandoc / vim-pandoc-legacy

[UNSUPPORTED/use vim-pandoc/vim-pandoc] vim bundle for pandoc users
143 stars 23 forks source link

How can I disable text replacement? #99

Closed naught101 closed 10 years ago

naught101 commented 10 years ago

For example, the replacement that happens in tex equations (\int becomes ∫), and the removal of asterisks that mark bold text? Basically, I just want a pandoc syntax highlighter, and none of the WYSIWYG features. Is this possible with vim-pandoc?

fmoralesc commented 10 years ago

The replacements in TeX equations are probably LaTeX suite fault, if you have that installed . We don't handle those conceals.

Disabling conceals is possible if using the backport-pandoc-syntax branch. You can do it for all conceals, by setting g:pandoc_use_conceal to 0, or for specific rules with:

let g:pandoc_use_conceal_for_rules -= "block"
fmoralesc commented 10 years ago

BTW, I had forgotten to update the branch with those changes, they should be available now.

naught101 commented 10 years ago

Awesome, thanks!