Last change
on this file since 67 was 67, checked in by Izuru Yakumo, 23 months ago |
Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
695 bytes
|
Line | |
---|
1 | package styles
|
---|
2 |
|
---|
3 | import (
|
---|
4 | "github.com/alecthomas/chroma/v2"
|
---|
5 | )
|
---|
6 |
|
---|
7 | // VisualStudio style.
|
---|
8 | var VisualStudio = Register(chroma.MustNewStyle("vs", chroma.StyleEntries{
|
---|
9 | chroma.Comment: "#008000",
|
---|
10 | chroma.CommentPreproc: "#0000ff",
|
---|
11 | chroma.Keyword: "#0000ff",
|
---|
12 | chroma.OperatorWord: "#0000ff",
|
---|
13 | chroma.KeywordType: "#2b91af",
|
---|
14 | chroma.NameClass: "#2b91af",
|
---|
15 | chroma.LiteralString: "#a31515",
|
---|
16 | chroma.GenericHeading: "bold",
|
---|
17 | chroma.GenericSubheading: "bold",
|
---|
18 | chroma.GenericEmph: "italic",
|
---|
19 | chroma.GenericStrong: "bold",
|
---|
20 | chroma.GenericPrompt: "bold",
|
---|
21 | chroma.Error: "border:#FF0000",
|
---|
22 | chroma.Background: " bg:#ffffff",
|
---|
23 | }))
|
---|
Note:
See
TracBrowser
for help on using the repository browser.