1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-12-07 23:13:26 +02:00

Add golangci-lint and fix all lint issues.

This commit is contained in:
Alec Thomas
2018-12-31 22:44:27 +11:00
parent e27f19c12f
commit da5ac60d8c
18 changed files with 118 additions and 45 deletions

View File

@@ -4,8 +4,8 @@ import (
"github.com/alecthomas/chroma"
)
// Algol_Nu style.
var Algol_Nu = Register(chroma.MustNewStyle("algol_nu", chroma.StyleEntries{
// AlgolNu style.
var AlgolNu = Register(chroma.MustNewStyle("algol_nu", chroma.StyleEntries{
chroma.Comment: "italic #888",
chroma.CommentPreproc: "bold noitalic #888",
chroma.CommentSpecial: "bold noitalic #888",