Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
elixir: Add support for `property` macro in runnables (#16985)
Christoph Schmatzler81eb594037f6
diff --git a/extensions/elixir/languages/elixir/runnables.scm b/extensions/elixir/languages/elixir/runnables.scmindex 13dc8605861..19883ec0594 100644--- a/extensions/elixir/languages/elixir/runnables.scm+++ b/extensions/elixir/languages/elixir/runnables.scm@@ -1,19 +1,19 @@-; Macros `describe` and `test`.+; Macros `describe`, `test` and `property`.; This matches the ExUnit test style.((call- target: (identifier) @run (#any-of? @run "describe" "test")+ target: (identifier) @run (#any-of? @run "describe" "test" "property")) @_elixir-test(#set! tag elixir-test))-; Modules containing at least one `describe` or `test`.+; Modules containing at least one `describe`, `test` and `property`.; This matches the ExUnit test style.((calltarget: (identifier) @run (#eq? @run "defmodule")(do_block- (call target: (identifier) @_keyword (#any-of? @_keyword "describe" "test"))+ (call target: (identifier) @_keyword (#any-of? @_keyword "describe" "test" "property")))) @_elixir-module-test(#set! tag elixir-module-test)