caddyserver / vscode-caddyfile

Rich Caddyfile support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=matthewpi.caddyfile-support
MIT License
79 stars 3 forks source link

Escaped quote character breaks highlighting #291

Closed ThomasOrlita closed 1 year ago

ThomasOrlita commented 1 year ago

System Information

Describe the bug Escaped quote character breaks highlighting.

Steps to Reproduce Steps to reproduce the behavior:

  1. Open the following Caddyfile

    example.com {
    respond "\"hello"
    }
    example.net {
    # 
    }
  2. Notice the syntax highlighting breaks at line 2

Expected Behavior Syntax highlighting is applied correctly to the string, taking in consideration the escaped " character.