Add option to disable (La)TeX syntax highlighting
This commit is contained in:
18
doc/org.txt
18
doc/org.txt
@@ -122,6 +122,23 @@ To disable italics only in a single buffer, use this instead:
|
||||
>
|
||||
let b:org_use_italics = 0
|
||||
<
|
||||
------------------------------------------------------------------------------
|
||||
*'b:org_highlight_tex'* *'g:org_highlight_tex'*
|
||||
Value: numeric~
|
||||
Default: 1~
|
||||
|
||||
Enable/disable syntax highlighting of inline (La)TeX blocks[4]. This option
|
||||
exists as some Org mode users don't use TeX and may find the highlighting
|
||||
annoying.
|
||||
|
||||
To disable for all Org mode files place the following line in your vimrc:
|
||||
>
|
||||
let g:org_highlight_tex = 0
|
||||
<
|
||||
To disable only in a single buffer, use this instead:
|
||||
>
|
||||
let b:org_highlight_tex = 0
|
||||
<
|
||||
==============================================================================
|
||||
4. CHANGE LOG *org-changelog*
|
||||
|
||||
@@ -188,6 +205,7 @@ works are:
|
||||
[1]: <https://www.gnu.org/software/emacs/manual/html_node/emacs/Outline-Mode.html>
|
||||
[2]: <https://orgmode.org/>
|
||||
[3]: <http://vimdoc.sourceforge.net/htmldoc/uganda.html#license>
|
||||
[4]: <https://orgmode.org/manual/LaTeX-fragments.html>
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
vim:et:ts=4:sts=4:sw=4:tw=78:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user