aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorFrans Skarman2023-10-26 23:32:49 +0000
committerGitHub2023-10-26 23:32:49 +0000
commit9eec9adb8fb299ea57dc6fa13f0c5d789dcdff73 (patch)
tree64fc3562d8513ba98148334fb039bb5ab5886563 /runtime/queries
parent290666011971c79e36b5172eea66b315dc52e2c9 (diff)
Add LPF tree sitter (#8536)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/lpf/highlights.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/queries/lpf/highlights.scm b/runtime/queries/lpf/highlights.scm
new file mode 100644
index 00000000..836aef84
--- /dev/null
+++ b/runtime/queries/lpf/highlights.scm
@@ -0,0 +1,19 @@
+[
+ "SYSCONFIG"
+ "BLOCK"
+ "LOCATE"
+ "COMP"
+ "FREQUENCY"
+ "PORT"
+ "IOBUF"
+] @keyword
+
+["SITE"] @keyword.storage
+
+["="] @operator
+
+((number) @constant.numeric)
+
+((string) @string)
+((line_comment) @comment)
+