You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
first argument inside parentheses not always should be mark as function name
Example
'(foo bar baz)
`(foo bar baz)
#(foo bar baz)
'#(foo bar baz)
(NOTE: GitHub is also wrong about this).
in those cases first token should not be function. I think (not 100% sure) that you only need (?:$|\s|\()\( in front of the regex (maybe just in case (?:$|[()[\]\s])[([] to support brackets and open close before) that match function call if before parentheses is not space, bracket or beginning of the of the string it should not be marked as function call.
The text was updated successfully, but these errors were encountered:
'(foo bar baz) ;; quoted list same as (list 'foo 'bar 'baz)
`(foo bar baz) ;; backquoted list that allow special tokens , and ,@ that evaluate the expression (unescape)
#(foo bar baz) ;; vector like array in JavaScript'#(foo bar baz) ;; this is similar as vector but symbols are quoted like with '(foo bar baz) without this foo bar baz need to be variable
Information:
Tested in https://prismjs.com/test.html#language=scheme
Description
first argument inside parentheses not always should be mark as function name
Example
(NOTE: GitHub is also wrong about this).
in those cases first token should not be function. I think (not 100% sure) that you only need
(?:$|\s|\()\(
in front of the regex (maybe just in case(?:$|[()[\]\s])[([]
to support brackets and open close before) that match function call if before parentheses is not space, bracket or beginning of the of the string it should not be marked as function call.The text was updated successfully, but these errors were encountered: