Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dumb-jump.el
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,10 @@ or most optimal searcher."
:regex "contract\\s*JJJ\\s*(is|\\\{)"
:tests ("contract test{" "contract test {" "contract test is foo"))

(:type "type" :supports ("ag" "grep" "rg" "git-grep") :language "solidity"
:regex "struct\\s*JJJ\\s*\\\{"
:tests ("struct test{" "struct test {"))

;; R
(:type "variable" :supports ("ag" "grep" "rg" "git-grep") :language "r"
:regex "\\bJJJ\\s*=[^=><]" :tests ("test = 1234") :not ("if (test == 1234)"))
Expand Down
Loading