Skip to content

Typing ) over auto-inserted ) should produce ), not )) #23

Description

@cyfung1031

https://live.prismjs.com/

There shall be better handling of typing coding with brackets.

For example, function(msg){ console.log(msg) }

Description:
There is auto closing bracket after typing function(

Expected Result:
No duplicated closing bracket when my typing is f u n c t i o n ( m s g )

Actual Result:
Cursor needs to be adjusted after the ) after typing f u n c t i o n ( m s g

Otherwise, typing f u n c t i o n ( m s g ) will become function(msg))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions