Skip to content
This repository was archived by the owner on May 13, 2020. It is now read-only.
This repository was archived by the owner on May 13, 2020. It is now read-only.

Problem with syntax hightlighting #16

Description

@Philippe-Collignon

If two directives are separated by a dash or any other symbol, the second one is in another color:

Environment:
Latest version of vscode on linux : (code_1.35.0-1559611369_amd64.deb)
Latest version of helm vscode extension : (vscode-helm 0.4.0, kubernetes ext 1.0.0, yaml ext: 0.4.1)

How to reproduce :
Try this snippet, {{ .Release.Name }} is in black -{{ .Chart.Name }} is in blue (with my vscode light theme)

apiVersion: v1
kind: Service
metadata:
  labels:
    name: {{ .Release.Name }}-{{ .Chart.Name }}
  name: {{ .Release.Name }}-{{ .Chart.Name }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - protocol: "TCP"
      port: {{ .Values.service.port }}
      targetPort: 3000
  selector:
    app: {{ .Release.Name }}-{{ .Chart.Name }}  

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions