...

Source file src/github.com/alecthomas/chroma/styles/vim.go

Documentation: github.com/alecthomas/chroma/styles

     1  package styles
     2  
     3  import (
     4  	"github.com/alecthomas/chroma"
     5  )
     6  
     7  // Vim style.
     8  var Vim = Register(chroma.MustNewStyle("vim", chroma.StyleEntries{
     9  	chroma.Background:         "#cccccc bg:#000000",
    10  	chroma.Comment:            "#000080",
    11  	chroma.CommentSpecial:     "bold #cd0000",
    12  	chroma.Keyword:            "#cdcd00",
    13  	chroma.KeywordDeclaration: "#00cd00",
    14  	chroma.KeywordNamespace:   "#cd00cd",
    15  	chroma.KeywordType:        "#00cd00",
    16  	chroma.Operator:           "#3399cc",
    17  	chroma.OperatorWord:       "#cdcd00",
    18  	chroma.NameClass:          "#00cdcd",
    19  	chroma.NameBuiltin:        "#cd00cd",
    20  	chroma.NameException:      "bold #666699",
    21  	chroma.NameVariable:       "#00cdcd",
    22  	chroma.LiteralString:      "#cd0000",
    23  	chroma.LiteralNumber:      "#cd00cd",
    24  	chroma.GenericHeading:     "bold #000080",
    25  	chroma.GenericSubheading:  "bold #800080",
    26  	chroma.GenericDeleted:     "#cd0000",
    27  	chroma.GenericInserted:    "#00cd00",
    28  	chroma.GenericError:       "#FF0000",
    29  	chroma.GenericEmph:        "italic",
    30  	chroma.GenericStrong:      "bold",
    31  	chroma.GenericPrompt:      "bold #000080",
    32  	chroma.GenericOutput:      "#888",
    33  	chroma.GenericTraceback:   "#04D",
    34  	chroma.GenericUnderline:   "underline",
    35  	chroma.Error:              "border:#FF0000",
    36  }))
    37  

View as plain text