You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vim.go 1.2KB

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