Add OpenFOAM parser

This commit is contained in:
Elwardi 2021-12-14 13:45:56 +01:00 committed by Stephan Seitz
parent 50fee51d35
commit 16e77495c4
9 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,9 @@
;; Pass code blocks to Cpp highlighter
(code (code_body) @cpp)
;; Pass identifiers to Go highlighter (Cheating I know)
;;((identifier) @lua)
;; Highlight regex syntax inside literal strings
((string_literal) @regex)