Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit c1c3099e authored by adelmann's avatar adelmann :reminder_ribbon:
Browse files

add optimiser keyowords

parent c0592b1e
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,15 @@
(add-to-list 'auto-mode-alist '("\\.opal\\'" . opal-mode))
; optimiser keywords
(defconst opal-font-lock-keywords-optimise
(list
'("\\<\\(DVAR\\|DVARS\\|OBJECTIVE\\|OBJECTIVES\\|CONSTRAINTS\\|OPTIMIZE\\)\\>"
. font-lock-builtin-face)
)
"Highlighting expressions for OPAL mode (matchingmet).")
;(regexp-opt '("CONSTRAINT" "ENDMATCH" "LINE" "MATCH" "RUN" "START" "TWISS" "VARY") t)
(defconst opal-font-lock-keywords-simul
......@@ -200,6 +209,7 @@
(defconst opal-font-lock-keywords-3
(append
opal-font-lock-keywords-optimise
opal-font-lock-special_operators
opal-font-lock-special_constants
opal-font-lock-keywords-programflow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment