martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.23k stars 256 forks source link

Request: ABC Music Lexer (abc.lua) #871

Closed 80aff123-9163-4f3e-a93d-4a2f35af9be1 closed 3 years ago

80aff123-9163-4f3e-a93d-4a2f35af9be1 commented 4 years ago

Abc notation is a markup language for music. In this sense it is similar to lilypond but it's syntax is different.

Here is an example:

X:1
T:Speed the Plough
M:4/4
C:Trad.
K:G
|:GABc dedB|dedB dedB|c2ec B2dB|c2A2 A2BA|
  GABc dedB|dedB dedB|c2ec B2dB|A2F2 G4:|
|:g2gf gdBd|g2f2 e2d2|c2ec B2dB|c2A2 A2df|
  g2gf g2Bd|g2f2 e2d2|c2ec B2dB|A2F2 G4:|

Editors That Have Code Highlighting for ABC Music

emacs-abc-mode abc-vim SublimeABC

The most popular abc music program called abcm2ps in the gentoo repositories. It is written in the C programming language.

An article about abc music in Fedora Magazine.

martanne commented 3 years ago

We are currently using Scintillua for syntax highlighting. Please direct your feature request at upstream. Thanks.