Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PLpgSQL = internal.Register(MustNewLazyLexer( &Config{ Name: "PL/pgSQL", Aliases: []string{"plpgsql"}, Filenames: []string{}, MimeTypes: []string{"text/x-plpgsql"}, NotMultiline: true, CaseInsensitive: true, }, plpgSQLRules, ))
Pl/Pgsql lexer.
View Source
var Pacmanconf = internal.Register(MustNewLazyLexer( &Config{ Name: "PacmanConf", Aliases: []string{"pacmanconf"}, Filenames: []string{"pacman.conf"}, MimeTypes: []string{}, }, pacmanconfRules, ))
Pacmanconf lexer.
View Source
var Perl = internal.Register(MustNewLazyLexer( &Config{ Name: "Perl", Aliases: []string{"perl", "pl"}, Filenames: []string{"*.pl", "*.pm", "*.t"}, MimeTypes: []string{"text/x-perl", "application/x-perl"}, DotAll: true, }, perlRules, ))
Perl lexer.
View Source
var Pig = internal.Register(MustNewLazyLexer( &Config{ Name: "Pig", Aliases: []string{"pig"}, Filenames: []string{"*.pig"}, MimeTypes: []string{"text/x-pig"}, CaseInsensitive: true, }, pigRules, ))
Pig lexer.
View Source
var Pkgconfig = internal.Register(MustNewLazyLexer( &Config{ Name: "PkgConfig", Aliases: []string{"pkgconfig"}, Filenames: []string{"*.pc"}, MimeTypes: []string{}, }, pkgconfigRules, ))
Pkgconfig lexer.
View Source
var Plaintext = internal.Register(MustNewLazyLexer( &Config{ Name: "plaintext", Aliases: []string{"text", "plain", "no-highlight"}, Filenames: []string{"*.txt"}, MimeTypes: []string{"text/plain"}, Priority: 0.1, }, internal.PlaintextRules, ))
View Source
var Pony = internal.Register(MustNewLazyLexer( &Config{ Name: "Pony", Aliases: []string{"pony"}, Filenames: []string{"*.pony"}, MimeTypes: []string{}, }, ponyRules, ))
Pony lexer.
View Source
var PostgreSQL = internal.Register(MustNewLazyLexer( &Config{ Name: "PostgreSQL SQL dialect", Aliases: []string{"postgresql", "postgres"}, Filenames: []string{}, MimeTypes: []string{"text/x-postgresql"}, NotMultiline: true, CaseInsensitive: true, }, postgreSQLRules, ))
Postgresql Sql Dialect lexer.
View Source
var Postscript = internal.Register(MustNewLazyLexer( &Config{ Name: "PostScript", Aliases: []string{"postscript", "postscr"}, Filenames: []string{"*.ps", "*.eps"}, MimeTypes: []string{"application/postscript"}, }, postscriptRules, ))
Postscript lexer.
View Source
var Povray = internal.Register(MustNewLazyLexer( &Config{ Name: "POVRay", Aliases: []string{"pov"}, Filenames: []string{"*.pov", "*.inc"}, MimeTypes: []string{"text/x-povray"}, }, povrayRules, ))
Povray lexer.
View Source
var Powershell = internal.Register(MustNewLazyLexer( &Config{ Name: "PowerShell", Aliases: []string{"powershell", "posh", "ps1", "psm1", "psd1"}, Filenames: []string{"*.ps1", "*.psm1", "*.psd1"}, MimeTypes: []string{"text/x-powershell"}, DotAll: true, CaseInsensitive: true, }, powershellRules, ))
Powershell lexer.
View Source
var Prolog = internal.Register(MustNewLazyLexer( &Config{ Name: "Prolog", Aliases: []string{"prolog"}, Filenames: []string{"*.ecl", "*.prolog", "*.pro", "*.pl"}, MimeTypes: []string{"text/x-prolog"}, }, prologRules, ))
Prolog lexer.
View Source
var Promql = internal.Register(MustNewLazyLexer( &Config{ Name: "PromQL", Aliases: []string{"promql"}, Filenames: []string{"*.promql"}, MimeTypes: []string{}, }, promqlRules, ))
Promql lexer.
View Source
var ProtocolBuffer = internal.Register(MustNewLazyLexer( &Config{ Name: "Protocol Buffer", Aliases: []string{"protobuf", "proto"}, Filenames: []string{"*.proto"}, MimeTypes: []string{}, }, protocolBufferRules, ))
ProtocolBuffer lexer.
View Source
var Puppet = internal.Register(MustNewLazyLexer( &Config{ Name: "Puppet", Aliases: []string{"puppet"}, Filenames: []string{"*.pp"}, MimeTypes: []string{}, }, puppetRules, ))
Puppet lexer.
View Source
var Python = internal.Register(MustNewLazyLexer( &Config{ Name: "Python", Aliases: []string{"python", "py", "sage"}, Filenames: []string{"*.py", "*.pyw", "*.sc", "SConstruct", "SConscript", "*.tac", "*.sage"}, MimeTypes: []string{"text/x-python", "application/x-python"}, }, pythonRules, ))
Python lexer.
View Source
var Python3 = internal.Register(MustNewLazyLexer( &Config{ Name: "Python 3", Aliases: []string{"python3", "py3"}, Filenames: []string{}, MimeTypes: []string{"text/x-python3", "application/x-python3"}, }, python3Rules, ))
Python3 lexer.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.