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

yacc.nanorc - github.com/serialhex/nano-highlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 06ddce15d5002549817703b639c406e933b9d9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
syntax "yacc" "\.y$"
color red "%[a-zA-Z0-9]*"

## 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="\*/"

## Trailing whitespace
color ,green "[[:space:]]+$"