package o

import "github.com/alecthomas/chroma/lexers/o"

Index

Variables

var ObjectiveC = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Objective-C",
		Aliases:   []string{"objective-c", "objectivec", "obj-c", "objc"},
		Filenames: []string{"*.m", "*.h"},
		MimeTypes: []string{"text/x-objective-c"},
	},
	objectiveCRules,
))

Objective-C lexer.

var Ocaml = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "OCaml",
		Aliases:   []string{"ocaml"},
		Filenames: []string{"*.ml", "*.mli", "*.mll", "*.mly"},
		MimeTypes: []string{"text/x-ocaml"},
	},
	ocamlRules,
))

Ocaml lexer.

var Octave = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Octave",
		Aliases:   []string{"octave"},
		Filenames: []string{"*.m"},
		MimeTypes: []string{"text/octave"},
	},
	octaveRules,
))

Octave lexer.

var OpenSCAD = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "OpenSCAD",
		Aliases:   []string{"openscad"},
		Filenames: []string{"*.scad"},
		MimeTypes: []string{"text/x-scad"},
	},
	openSCADRules,
))
var Org = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Org Mode",
		Aliases:   []string{"org", "orgmode"},
		Filenames: []string{"*.org"},
		MimeTypes: []string{"text/org"},
	},
	orgRules,
))

Org mode lexer.

Source Files

objectivec.go ocaml.go octave.go openscad.go org.go

Version
v0.9.2
Published
Jun 15, 2021
Platform
js/wasm
Imports
2 packages
Last checked
6 minutes ago

Tools for package owners.