File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ There is currently basic support for the following languages:
5050* Nix
5151* Objective-C
5252* OCaml
53+ * Odin
5354* OpenSCAD
5455* Org mode
5556* Pascal
Original file line number Diff line number Diff line change @@ -1573,7 +1573,28 @@ or most optimal searcher."
15731573 (:type " type" :supports (" ag" " grep" " rg" " git-grep" ) :language " apex"
15741574 :regex " (class|interface)\\ s*JJJ\\ b"
15751575 :tests (" class test:" " public class test implements Something" )
1576- :not (" class testnot:" " public class testnot implements Something" )))
1576+ :not (" class testnot:" " public class testnot implements Something" ))
1577+
1578+ ; ; odin
1579+ (:type " variable" :supports (" ag" " grep" " rg" " git-grep" ) :language " odin"
1580+ :regex " \\ s*\\ bJJJ\\ s*:\\ s*([^=\\ n]+\\ s*:|:|[^=\\ n]+\\ s*=|=)"
1581+ :tests (" test :: struct"
1582+ " test ::enum"
1583+ " test:: union"
1584+ " test: : custom_type"
1585+ " test :: [2]f32"
1586+ " test : f32 : 20"
1587+ " test: i32 : 10"
1588+ " test := 20"
1589+ " test : f32 = 20"
1590+ " test: i32 = 10"
1591+ " test: i32= 10"
1592+ " test :i32= 10"
1593+ " test :: proc()"
1594+ " test ::proc() {"
1595+ " test:: proc(a: i32) -> i32 {"
1596+ " test::proc{}"
1597+ " test: :proc \" contextless\" {}" )))
15771598
15781599
15791600 " List of regex patttern templates organized by language and type to use for generating the grep command."
@@ -1731,7 +1752,8 @@ or most optimal searcher."
17311752 (:language " hcl" :ext " tf" :agtype " terraform" :rgtype " tf" )
17321753 (:language " hcl" :ext " tfvars" :agtype " terraform" :rgtype nil )
17331754 (:language " apex" :ext " cls" :agtype nil :rgtype nil )
1734- (:language " apex" :ext " trigger" :agtype nil :rgtype nil ))
1755+ (:language " apex" :ext " trigger" :agtype nil :rgtype nil )
1756+ (:language " odin" :ext " odin" :agtype nil :rgtype nil ))
17351757
17361758 " Mapping of programming language(s) to file extensions."
17371759 :group 'dumb-jump
You can’t perform that action at this time.
0 commit comments