Skip to content

lua syntax highlighting incorrect #1440

@verygoodlee

Description

@verygoodlee

Describe the bug
lua syntax highlighting incorrect in some cases which contains regular expression.

To Reproduce
Steps to reproduce the behavior:

  1. view https://github.com/mpv-player/mpv/blob/bcc72f97ef1106b8ed028ebcdd1897351f10caa7/player/lua/stats.lua#L419-L438

Expected behavior
N/A

Desktop (please complete the following information):

  • OS Version: [Windows 11 23H2]
  • QuickLook Version: [3.7.3 from Windows Store]

Screenshots and Exception Log

syntax highlighting incorrect after the regular expression in line 421.
屏幕截图 2024-07-05 221532

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions