-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add support for builtin #4
Comments
Thanks for the feedback, @idleberg. Do you have any references to |
As far as I understand it, builtins are functions that are bundled with a language (see Python, for example). I'm not sure how this compares to TextMate scopes (which Sublime Text also uses), probably By the way, here are all the types supported by the default CodeMirror theme: .cm-s-default .cm-keyword {…}
.cm-s-default .cm-atom {…}
.cm-s-default .cm-number {…}
.cm-s-default .cm-def {…}
.cm-s-default .cm-variable {…}
.cm-s-default .cm-punctuation {…}
.cm-s-default .cm-property {…}
.cm-s-default .cm-operator {…}
.cm-s-default .cm-variable-2 {…}
.cm-s-default .cm-variable-3 {…}
.cm-s-default .cm-type {…}
.cm-s-default .cm-comment {…}
.cm-s-default .cm-string {…}
.cm-s-default .cm-string-2 {…}
.cm-s-default .cm-meta {…}
.cm-s-default .cm-qualifier {…}
.cm-s-default .cm-builtin {…}
.cm-s-default .cm-bracket {…}
.cm-s-default .cm-tag {…}
.cm-s-default .cm-attribute {…}
.cm-s-default .cm-hr {…}
.cm-s-default .cm-link {…}
.cm-s-default .cm-error {…}
.cm-invalidchar {…} // I wonder why this one lacks the theme prefix By the way, a long time ago I maintained the CodeMirror templates for Base16, which lack many of those types listed above. Maybe we can join our efforts somehow. |
Thanks for the info, @idleberg. I'm open to collaboration and I'm sure the community would love it, as well. Let me know what you have in mind. |
I know that CodeMirror lacks a good documentation on its styles, but many of the bundled themes have support for
builtin
, so it would be nice if you could add support for your themes as well.The text was updated successfully, but these errors were encountered: