Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lex.nanorc - github.com/serialhex/nano-highlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c04fb0dc18c22c509c34b8bc36df81f8fa3212d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
syntax "lex" "\.(l|lex|flex)$"
color red "%[^[[:space:]]]*"

## Strings
# NOTE: You will in general want your comments and strings to come last, because syntax highlighting rules will be applied in the order they are read in.
color brightyellow "<[^=        ]*>" ""(\\.|[^"])*""
# NOTE: Very resource intensive.
color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""

## Comments
color brightblue start="/\*" end="\*/"