Fix hoc mode slightly, and add more hooks to python and org mode

This commit is contained in:
2021-11-24 15:36:39 -05:00
parent 926d268ba8
commit 4fdaba64cb
2 changed files with 8 additions and 4 deletions

View File

@@ -4,9 +4,11 @@
(setq hoc-mode-highlights
'(
( "//.*" . font-lock-comment-face)
( "proc\\|objref\\|create\\|public\\|begintemplate\\|endtemplate\\|access\\|if\\|for" . font-lock-keyword-face)
( "[a-z0-9A-Z_]+?[ \n\t]*\\((\\)" . font-lock-function-name-face)
( "//.+" . font-lock-comment-face)
( "/\*" . font-lock-comment-start-skip)
( "\*/" . font-lock-comment-end-skip)
)
)