Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Highlight qualified Elm function calls

Quinn Wilton62ee52a5fc6e
diff --git a/crates/zed/src/languages/elm/highlights.scm b/crates/zed/src/languages/elm/highlights.scm
index be665784532..5838aa4796d 100644
--- a/crates/zed/src/languages/elm/highlights.scm
+++ b/crates/zed/src/languages/elm/highlights.scm
@@ -26,6 +26,11 @@
(type_annotation(lower_case_identifier) @function)
(port_annotation(lower_case_identifier) @function)
(function_declaration_left(lower_case_identifier) @function.definition)
+
+(function_call_expr
+ target: (value_expr
+ name: (value_qid (dot) (lower_case_identifier) @function)))
+
(function_call_expr target: (value_expr) @identifier)
(exposed_value(lower_case_identifier) @function)