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
Port to nano/pico #13
Comments
Looks great @Ebedthan, can you start a git-branch called |
ok @ababaian |
1 similar comment
ok @ababaian |
@ababaian i think we can't define new colors in nano. My research don't gave me results as expected. If you have any informations on how to add colors in nano for syntax highlighting, please let me know. |
It's probably ANSI escape colors and/or System colors. Less and even terminal-vim has the same issue but even partial coloring with 16 colors is much better then nothing at all. We just have to work within the framework of what is possible. With just Red / Green / Blue / Orange / White / Black and Bold / Italics and Background / Foreground you can accomplish about 90% of the functionality of bioSyntax. In the colors excel spreadsheet look at the last columns for ANSI/System colors where they are applicable. |
Ok I take a look. |
Please @ababaian could you let me know the link to the excel spreadsheet ? |
|
How is it coming along @Ebedthan? Do you have guidelines / instructions on the work-flow? |
Hey @ababaian Yes i have instructions. |
KK Anicet, I've copied your instructions to the top of the post to organize the information a bit. Keep us all updated about your progress with the pico syntaxes or if you run into trouble 👍 |
ok @ababaian |
Hello everybody, |
Hows it coming along Anicet? Maybe one of the other @bioSyntax/devs can help out? This syntax format looks pretty tricky with the limitations. Have you found any good online guides on writing in-depth syntax files? |
Yes @ababaian i have uploaded works i'vé already finish on the nano branch. Take a look. I will upload guidelines today. |
Hey @ababaian, since Valid colors in nano are white, black, red, blue, green, yellow, magenta, cyan. |
Can you add at minimum white text to the FASTQ PHRED score? Right now it's unreadable as is. Start with GTF before SAM/VCF/PDB which is the simplest from that list. Can you get a Robust Column Selection regular expressions defined, that's more important then all the color details. If you're able to write the logic in nano to arbitrarily select columns I'll be able to define a color scheme which works within the palette available. It may not be a perfect match but |
#2 task 8 |
Hey everybody
I have choose to invest my last night in writing syntax highlighting for nano/pico. I an writing the manual for develop nano syntax highlighting.
Take a look at what i have done so far.
I think i will finish porting tonight.
Instructions of developing Pico Syntax
*.nanorc
file defining syntax highlighting./usr/share/nano/
and to~/.nano/syntax/
(the first path should also contains.nanorc
files by default for others languages such as php, perl, etc., they don't need to be copied to~/.nanorc/
file but the following step should be done to see colors).~/.nanorc
doingnano ~/.nanorc
and addinclude /usr/share/nano/*.nanorc
.Syntaxes TODO for pico
The text was updated successfully, but these errors were encountered: