Skip to content

syntax: fix goVar and goConst highlighting bug - #3751

Merged
bhcleek merged 2 commits into
fatih:masterfrom
paskozdilar:master
Jul 24, 2026
Merged

bhcleek merged 2 commits into
fatih:masterfrom
paskozdilar:master

Conversation

@paskozdilar

Copy link
Copy Markdown
Contributor

Fix goVar and goConst hightlighting bug by excluding goImportString from goVar and goConst blocks.

Fixes #3699

@bhcleek

bhcleek commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Thank you. I'm probably going to take this and the PR that I put up to fix it, too. Technically, either one will solve this problem, but having the changes in both will make the syntax file more precise.

@bhcleek
bhcleek merged commit 46d26cd into fatih:master Jul 24, 2026
8 checks passed
@bhcleek bhcleek added this to the vim-go v1.30 milestone Jul 24, 2026
bhcleek added a commit that referenced this pull request Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adding strings in multiple lines in var or const block statement breaks Go syntax highlighting

2 participants