-
Notifications
You must be signed in to change notification settings - Fork 144
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
Cannot give ScalaSquareBrackets a custom color #64
Comments
AFAIK that's not the way to do it. What you can specify is the colour highlighting for |
I'm four years late, but here goes...
Use
It's common for syntax scripts to use
hi! link rubyRegexpDelimiter rubyRegexp
hi! link rubyRegexpSpecial rubyRegexp Using More details from Using [default] is especially useful to overrule the highlighting of a
specific syntax file. For example, the C syntax file contains:
:highlight default link cComment Comment
If you like Question highlighting for C comments, put this in your vimrc file:
:highlight link cComment Question
Without the "default" in the C syntax file, the highlighting would be
overruled when the syntax file is loaded. |
If you've got a fix, could you put in a PR? |
@fldef Thanks! 😀 When I get back to my working on my colorscheme, I'll take this into account. |
Hi, I'm writing my own colorscheme with focus on Scala.
When I'm trying to give ScalaSquareBrackets a custom one it doesn't work:
Is this a bug or am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered: