Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve go-dot-work-mode font lock regexp #425

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mssdvd
Copy link
Contributor

@mssdvd mssdvd commented Aug 23, 2023

This pr applies the same idea of f9174b2 to go.work files.

@mssdvd mssdvd force-pushed the fix-go-dot-work-mode-font-lock-regexp branch from 281e2ef to cf9af44 Compare August 23, 2023 23:18
All the go.work keywords are bounded by the beginning of line and
whitespace so we use that as our regexp boundaries instead of
word/symbol boundaries.
@mssdvd mssdvd force-pushed the fix-go-dot-work-mode-font-lock-regexp branch from cf9af44 to 8f0e076 Compare August 23, 2023 23:20
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.

1 participant