Skip to content

Commit 8ac787f

Browse files
authoredJun 26, 2023
Merge pull request #504 from elixir-editors/add-guards-to-easy-menu
Add guards to easymenu
2 parents 6c7f2b2 + d75664d commit 8ac787f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎elixir-mode.el

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
("Private Functions" "^\\s-*defp[ \n\t]+\\([a-z0-9_!\\?]+\\)\\(([^)]*)\\)*.*" 1)
7171
("Public Macros" "^\\s-*defmacro[ \n\t]+\\([a-z0-9_!\\?]+\\)\\(([^)]*)\\)*.*" 1)
7272
("Private Macros" "^\\s-*defmacrop[ \n\t]+\\([a-z0-9_!\\?]+\\)\\(([^)]*)\\)*.*" 1)
73+
("Public Guards" "^\\s-*defguard[ \n\t]+\\([a-z0-9_!\\?]+\\)\\(([^)]*)\\)*.*" 1)
74+
("Private Guards" "^\\s-*defguardp[ \n\t]+\\([a-z0-9_!\\?]+\\)\\(([^)]*)\\)*.*" 1)
7375
("Delegates" "^\\s-*defdelegate[ \n\t]+\\([a-z0-9_]+\\)\\(([^)]*)\\)*.*" 1)
7476
("Overridables" "^\\s-*defoverridable[ \n\t]+\\([a-z0-9_]+\\)\\(([^)]*)\\)*.*" 1)
7577
("Tests" "^\\s-*test[ \t\n]+\"?\\(:?[a-z0-9_@+() \t-]+\\)\"?[ \t\n]+.*" 1))

0 commit comments

Comments
 (0)
Please sign in to comment.