Skip to content

Port to nano/pico #13

@Ebedthan

Description

@Ebedthan

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.
image
I think i will finish porting tonight.


Instructions of developing Pico Syntax

  1. Create a *.nanorc file defining syntax highlighting.
  2. Copy this file to /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).
  3. Add this path to these files by creating/editing ~/.nanorc doing nano ~/.nanorc and add include /usr/share/nano/*.nanorc.
  4. After that you will be able to see colors in your nano/pico editor.

Syntaxes TODO for pico

  • Fasta (.fa) [Anicet]
  • Fastq (.fq) [Anicet]
  • Bed (.bed)
  • Clustal (.clustal)
  • GTF (.gtf)
  • PDB (.pdb)
  • VCF (.vcf)
  • SAM (.sam)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions