Skip to content

Encountered a highlighting error #3764

Open
@TerryLiu

Description

@TerryLiu

Image

I have the following code and encountered a highlighting error:

func FilterSQL(oldStr string) string {
mg:= map[string]string{
`'`:"",
`\`:"",
}
for key, val := range mg {
oldStr = strings.ReplaceAll(oldStr, key, val)

}

return oldStr;

}


`'`:"" Syntax highlighting error on this line, change it to "\\":"" syntax highlighting will work, please fix it. Thanks!

My "Go" plugin version:
0.46.1
Last Updated
2025-03-31, 13:44:00

My "vscode-go-syntax" plugin version:
0.0.18
Last Updated
2023-12-05, 10:36:37

Metadata

Metadata

Assignees

No one assigned

    Labels

    WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions