#### 4.9.26 Syntax

Syntax: `Syntax [`name`|*]`
Abbreviation: `SY`

loads the syntax with the given name, and colors the current buffer accordingly.

If the optional name argument is not specified, you are prompted for one. The special name * turns off syntax highlighting for the current document. Otherwise, name must match a syntax definition either in your `~/.ne/syntax` directory or in a directory named '`syntax`' inside `ne`'s global directory. Additionally, `ne` has a table mapping common suffixes to syntax names. If there is no syntax with a given name, `ne` will try to remap the name using the following table (the string before the colon is the name of the syntax file):

            ada: adb, ads
            asm: s
            c: c++, cc, cpp, h, h++ hpp, l, lex, y, yacc
            cobol: cbl, cob
            csh: tcsh
            diff: patch
            fortran: f, for
            html: htm
            java: js
            lisp: el, lsp
            mason: mas
            ocaml: ml, mli
            pascal: p, pas
            perl: pl, pm
            ps: eps
            python: py
            rexx: rex
            ruby: rb
            sh: bash, bash_login, bash_logout, bash_profile, bashrc, ksh,
                profile, rc
            skill: il
            tex: sty
            troff: 1
            verilog: v, vh, vhd
            xml: xsd