Skip to content

Commit 2922697

Browse files
committed
hilights.scm: update function.builtin
1 parent 18b739c commit 2922697

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

queries/highlights.scm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@
3939
(identifier) @function.macro)))
4040

4141
; Built-in functions
42-
; filter(name -> Base.eval(Core, name) isa Core.Builtin, names(Core))
42+
; print.("\"", filter(name -> getglobal(Core, name) isa Core.Builtin, names(Core)), "\" ");
4343
((identifier) @function.builtin
4444
(#any-of? @function.builtin
45-
"applicable" "fieldtype" "getfield" "getglobal" "invoke" "isa" "isdefined" "modifyfield!"
46-
"modifyglobal!" "nfields" "replacefield!" "replaceglobal!" "setfield!" "setfieldonce!"
47-
"setglobal!" "setglobalonce!" "swapfield!" "swapglobal!" "throw" "tuple" "typeassert" "typeof"))
45+
"applicable" "fieldtype" "getfield" "getglobal" "invoke" "isa" "isdefined" "isdefinedglobal" "modifyfield!" "modifyglobal!" "nfields" "replacefield!" "replaceglobal!" "setfield!" "setfieldonce!" "setglobal!" "setglobalonce!" "swapfield!" "swapglobal!" "throw" "tuple" "typeassert" "typeof"))
4846

4947
; Type definitions
5048
(type_head (_) @type.definition)

0 commit comments

Comments
 (0)