Fix hoc mode slightly, and add more hooks to python and org mode
This commit is contained in:
@@ -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)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
8
init.el
8
init.el
@@ -141,7 +141,11 @@
|
||||
; Python
|
||||
(use-package pyvenv
|
||||
:init
|
||||
(setenv "WORKON_HOME" "~/.pyenv/versions"))
|
||||
(setenv "WORKON_HOME" "~/.pyenv/versions")
|
||||
:hook (
|
||||
(python-mode . pyvenv-mode)
|
||||
)
|
||||
)
|
||||
(use-package lsp-python)
|
||||
|
||||
; C related
|
||||
@@ -249,8 +253,6 @@
|
||||
)
|
||||
; References etc.
|
||||
(use-package org-ref
|
||||
:after org
|
||||
:defer t
|
||||
:config
|
||||
(setq reftex-default-bibliography '("~/Documents/Bibliography/references.bib"))
|
||||
;; see org-ref for use of these variables
|
||||
|
||||
Reference in New Issue
Block a user