-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing parts of the syntax highlighting #1
Comments
Do you have an idea what kind of symbol could be used? Adding it is not so much work, I am just bad at designing (it would have to be an svg file if you would like to create it as outlined here) Also, what kind of default colors would you propose for terminal/non-terminal? |
I just realized that you can use different highlighting for tokens and rules via Settings->Editor->Color Scheme->Lark. |
Thank you for this useful information! I think it would be a good idea to mention about such features in the main page.
Something like the following could look nice, although it still has a lot of room for improvement: (NOTE: i used this website for svg icon design) |
After looking around a bit, I found a good candidate. @erezsh Do you have the logo/banner of this organization in some other form than a png? (best case .svg file) and would you think this is a good idea (using that as the icon of the plugin, and as the symbol for the files (as file-type))? |
The bird on its own could make a nice icon. What dimensions are we talking? |
Here is the information for a plugin icon. Basically: a .svg file, 40x40 px (but it since it is svg it will be scaled up). Here is the information for the file-type icon. Best case again .svg, can also be a .png. 16x16px, again a light/dark version, for each '@2x' scaled versions should exist. |
First of all, thank you for this. Amazing effort. My lark file has this line: %import common (LETTER, DIGIT, INT, WS, ESCAPED_STRING, FLOAT) The line gets many errors:
I'm new to lark, so maybe I could improve the error line, but this has been working on the project long before I joined. Thank you again. |
Yes, that's probably because it's a relatively new syntax. If anyone decides to add it, I suggest to support the extended syntax: %import common (a -> b, C -> D, and -> etc) |
@MegaIng Sure, I can do that. Maybe I can just notify everyone in the highlighters group whenever there's a syntax change. I'll get to the icon at some point. |
@erezsh Thanks! |
@naretto In the latest commit it should be working. Tell me if you find any bugs. (For acutal bugs, please add a new issue) |
just saw this issue, after creating another one. sorry about that. |
Use this issue to mention all parts where syntax-highlighting is wrong/not as wished/missing in the options menu.
The text was updated successfully, but these errors were encountered: