-
Notifications
You must be signed in to change notification settings - Fork 1.3k
highlight unclosed string literals #277
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
Labels
Comments
It's not currently possible: the code looks for the starting quote and doesn't distinguish whether or not a final quote is present. (This gives rise to #130.) As a workaround, you might try to revert ff4d402, which would cause unterminated strings not to be highlighted. Possibly related is workers/37631 about detecting unterminated words. |
This could be implemented after #454 is merged. |
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Nov 16, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Nov 16, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Nov 24, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 20, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 23, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 24, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 24, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 24, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 24, 2017
phy1729
added a commit
to phy1729/zsh-syntax-highlighting
that referenced
this issue
Dec 24, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to switch over to zsh from fish, and I really miss how fish's syntax highlighting will highlight unclosed string literals as red. I couldn't figure out how to do this with the current plugin.
The text was updated successfully, but these errors were encountered: