aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/sosl
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/sosl')
-rw-r--r--runtime/queries/sosl/highlights.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/runtime/queries/sosl/highlights.scm b/runtime/queries/sosl/highlights.scm
new file mode 100644
index 000000000..f3b77be3b
--- /dev/null
+++ b/runtime/queries/sosl/highlights.scm
@@ -0,0 +1,30 @@
+(find_clause
+ (term) @string)
+
+(sobject_return
+ (identifier) @type)
+
+(with_type
+ (_
+ "=" @operator))
+
+[
+ "ALL"
+ "DIVISION"
+ "EMAIL"
+ "FIND"
+ "ListView"
+ "HIGHLIGHT"
+ "IN"
+ "METADATA"
+ "NAME"
+ "NETWORK"
+ "PHONE"
+ "PricebookId"
+ "RETURNING"
+ "SIDEBAR"
+ "SNIPPET"
+ "SPELL_CORRECTION"
+ "target_length"
+ "USING"
+] @keyword