mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
support PyFoam syntax in OpenFOAM files
This commit is contained in:
parent
5519ced35b
commit
82fcdb2a2a
3 changed files with 9 additions and 1 deletions
|
|
@ -52,6 +52,11 @@
|
|||
"}"
|
||||
"#{"
|
||||
"#}"
|
||||
"|-"
|
||||
"-|"
|
||||
"<!--("
|
||||
")-->"
|
||||
"$$"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
|
|
|
|||
|
|
@ -7,3 +7,6 @@
|
|||
;; Highlight regex syntax inside literal strings
|
||||
((string_literal) @regex)
|
||||
|
||||
;; Highlight PyFoam syntax as Python statements
|
||||
(pyfoam_variable code_body: (_) @python)
|
||||
(pyfoam_expression code_body: (_) @python)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue