package y import ( . "github.com/alecthomas/chroma" // nolint "github.com/alecthomas/chroma/lexers/internal" ) var YANG = internal.Register(MustNewLexer( &Config{ Name: "YANG", Aliases: []string{"yang"}, Filenames: []string{"*.yang"}, MimeTypes: []string{"application/yang"}, }, Rules{ "root": { {`\s+`, Whitespace, nil}, {`[\{\}\;]+`, Punctuation, nil}, {`(?