Skip to content

Scheme function call #2609

@jcubic

Description

@jcubic

Information:
Tested in https://prismjs.com/test.html#language=scheme

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions