sublimehq / Packages

Syntax highlighting files shipped with Sublime Text and Sublime Merge
https://sublimetext.com
Other
2.95k stars 588 forks source link

[Go] Inline YAML templates not terminated properly before a comment start marker #4016

Closed FichteFoll closed 3 months ago

FichteFoll commented 3 months ago

What happened?

This is not supposed to be marked as a comment.

spec:
  rules:
     - http:
        paths:
          - path: /{{.Values.ingress.path}}/*
            pathType: ImplementationSpecific
            backend:
              service:
                name: {{ .Chart.Name }}-service
                port:
                  number: 80

image

Highlighting returns to normal if a space is added before /*, but that would obviously be undersirable.