hoc-mode update

This commit is contained in:
2021-10-03 18:57:34 -04:00
parent 2e0f092206
commit 926d268ba8
3 changed files with 12 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
;;; hoc-mode.el -- mode for editing NEURON hox files
(setq hoc-mode-keywords "proc\\|objref\\|create\\|public\\|begintemplate\\|endtemplate\\|access\\|if\\|for")
;; (setq hoc-mode-keywords "proc\\|objref\\|create\\|public\\|begintemplate\\|endtemplate\\|access\\|if\\|for")
(setq hoc-mode-highlights
'(
( "//.*" . font-lock-comment-face)
( hoc-mode-keywords . font-lock-keyword-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)
)
)