Commit 3e1fc638 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

syntaxes: remove quotes from each syntax name, and color it differently

The different color will make the name stand out, as it should, instead
of looking the same as all the regex strings.
No related merge requests found
Showing with 5 additions and 5 deletions
+5 -5
## Syntax highlighting for RPM spec files.
syntax "spec" "\.(spec$|spec\.*)"
syntax spec "\.(spec$|spec\.*)"
comment "#"
# Main tags.
......
## Syntax highlighting for Tcl files.
syntax "tcl" "\.tcl$"
syntax tcl "\.tcl$"
magic "Tcl(/Tk)? script"
comment "#"
......
## Here is a short example for TeX files.
syntax "tex" "\.tex$"
syntax tex "\.tex$"
magic "(La)?TeX document"
linter chktex -v0 -q -I
comment "%"
......
## Here is an example for Texinfo files.
syntax "texinfo" "\.texi$"
syntax texinfo "\.texi$"
header "^\\input texinfo"
magic "Texinfo source"
comment "@c "
......
## Here is an example for XML files.
syntax "xml" "\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
syntax xml "\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
header "<\?xml.*version=.*\?>"
magic "(XML|SGML) (sub)?document"
comment "<!--|-->"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment