diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-10-01 22:50:54 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-10-01 22:50:54 +0200 |
| commit | 50aef4a8e2b6a53c12febf3728dfd0587915d248 (patch) | |
| tree | ad8596f62ac86982a9cfe2194e456a06c59d07a2 /itches/emacs/language-support.org | |
| parent | 1412f919f69e08a1cf430b114109917bfb06ad18 (diff) | |
| download | memory-leaks-50aef4a8e2b6a53c12febf3728dfd0587915d248.tar.xz | |
Fix C++ highlighting
Weirdly enough, "c++" works with markdown files but not with org
files, where only "cpp" works.
While in there, make all tags lowercase for consistency. This is what
org-insert-structure-template generates.
Diffstat (limited to 'itches/emacs/language-support.org')
| -rw-r--r-- | itches/emacs/language-support.org | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/itches/emacs/language-support.org b/itches/emacs/language-support.org index d784f2b..8ec766e 100644 --- a/itches/emacs/language-support.org +++ b/itches/emacs/language-support.org @@ -21,7 +21,7 @@ E.g. ="an ${expression} that should be highlighted"=. ** Do not highlight single-quoted command substitutions E.g. ='this $(call) should not be highlighted'=. ** Fix indentation on continuation lines -#+BEGIN_SRC shell +#+begin_src shell # cf # - electric-indent-post-self-insert-function # - indent-according-to-mode @@ -35,7 +35,7 @@ foo_bar \ indentisstill4 ${foo}bar \ indentisfoobar -#+END_SRC +#+end_src * Makefile @@ -61,7 +61,7 @@ TeX-insert-quote erases the region and inserts =``= instead. *** =catcode`$= starts a math environment Minimal example: -#+BEGIN_SRC latex +#+begin_src latex \documentclass{article} \usepackage{fancyvrb} @@ -84,7 +84,7 @@ Things decreased: \textcolor{green}{-49.22%} (514 $\searrow$ 261) \end{Verbatim} \end{document} -#+END_SRC +#+end_src Can workaround it with =\catcode36= instead of =\catcode`$=. *** saving does not add a final newline |
