Skip to content

Extra } inserted in .kts files on save #26

@yamad07

Description

@yamad07

When working with .kts files in Zed using the Kotlin extension, an extra closing brace (}) is added automatically upon saving the file. This behavior does not occur with regular .kt files. The issue causes compilation errors as the resulting script contains mismatched braces.

zed-kts.mov

Environment

  • Zed 0.167.2
  • Kotlin v0.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions