annotate rhodecode/public/js/mode/meta.js @ 4030:647308db13ff

Added codemirror syntax mode in gists. - autopropose file extension when syntax mode is choosen
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 21 Jun 2013 02:42:32 +0200
parents a60a0e9092c6
children af3c746b3f1f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4026
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 CodeMirror.modeInfo = [
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 {name: 'APL', mime: 'text/apl', mode: 'apl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 {name: 'Asterisk', mime: 'text/x-asterisk', mode: 'asterisk'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 {name: 'C', mime: 'text/x-csrc', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 {name: 'C++', mime: 'text/x-c++src', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 {name: 'Cobol', mime: 'text/x-cobol', mode: 'cobol'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 {name: 'Java', mime: 'text/x-java', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 {name: 'C#', mime: 'text/x-csharp', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 {name: 'Scala', mime: 'text/x-scala', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 {name: 'Clojure', mime: 'text/x-clojure', mode: 'clojure'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 {name: 'CoffeeScript', mime: 'text/x-coffeescript', mode: 'coffeescript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 {name: 'Common Lisp', mime: 'text/x-common-lisp', mode: 'commonlisp'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 {name: 'CSS', mime: 'text/css', mode: 'css'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 {name: 'D', mime: 'text/x-d', mode: 'd'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 {name: 'diff', mime: 'text/x-diff', mode: 'diff'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 {name: 'ECL', mime: 'text/x-ecl', mode: 'ecl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 {name: 'Erlang', mime: 'text/x-erlang', mode: 'erlang'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 {name: 'Gas', mime: 'text/x-gas', mode: 'gas'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
19 {name: 'GO', mime: 'text/x-go', mode: 'go'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
20 {name: 'Groovy', mime: 'text/x-groovy', mode: 'groovy'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21 {name: 'Haskell', mime: 'text/x-haskell', mode: 'haskell'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 {name: 'Haxe', mime: 'text/x-haxe', mode: 'haxe'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
23 {name: 'ASP.NET', mime: 'application/x-aspx', mode: 'htmlembedded'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24 {name: 'Embedded Javascript', mime: 'application/x-ejs', mode: 'htmlembedded'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 {name: 'JavaServer Pages', mime: 'application/x-jsp', mode: 'htmlembedded'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 {name: 'HTML', mime: 'text/html', mode: 'htmlmixed'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 {name: 'HTTP', mime: 'message/http', mode: 'http'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 {name: 'JavaScript', mime: 'text/javascript', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 {name: 'JSON', mime: 'application/x-json', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 {name: 'JSON', mime: 'application/json', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31 {name: 'TypeScript', mime: 'application/typescript', mode: 'javascript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
32 {name: 'Jinja2', mime: 'jinja2', mode: 'jinja2'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 {name: 'LESS', mime: 'text/x-less', mode: 'less'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
34 {name: 'LiveScript', mime: 'text/x-livescript', mode: 'livescript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
35 {name: 'Lua', mime: 'text/x-lua', mode: 'lua'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
36 {name: 'Markdown (GitHub-flavour)', mime: 'text/x-markdown', mode: 'markdown'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
37 {name: 'mIRC', mime: 'text/mirc', mode: 'mirc'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
38 {name: 'NTriples', mime: 'text/n-triples', mode: 'ntriples'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
39 {name: 'OCaml', mime: 'text/x-ocaml', mode: 'ocaml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
40 {name: 'Pascal', mime: 'text/x-pascal', mode: 'pascal'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
41 {name: 'Perl', mime: 'text/x-perl', mode: 'perl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
42 {name: 'PHP', mime: 'text/x-php', mode: 'php'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
43 {name: 'PHP(HTML)', mime: 'application/x-httpd-php', mode: 'php'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
44 {name: 'Pig', mime: 'text/x-pig', mode: 'pig'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
45 {name: 'Plain Text', mime: 'text/plain', mode: 'null'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
46 {name: 'Properties files', mime: 'text/x-properties', mode: 'clike'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
47 {name: 'Python', mime: 'text/x-python', mode: 'python'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
48 {name: 'R', mime: 'text/x-rsrc', mode: 'r'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
49 {name: 'reStructuredText', mime: 'text/x-rst', mode: 'rst'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
50 {name: 'Ruby', mime: 'text/x-ruby', mode: 'ruby'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
51 {name: 'Rust', mime: 'text/x-rustsrc', mode: 'rust'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
52 {name: 'Sass', mime: 'text/x-sass', mode: 'sass'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
53 {name: 'Scheme', mime: 'text/x-scheme', mode: 'scheme'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
54 {name: 'SCSS', mime: 'text/x-scss', mode: 'css'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
55 {name: 'Shell', mime: 'text/x-sh', mode: 'shell'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
56 {name: 'Sieve', mime: 'application/sieve', mode: 'sieve'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
57 {name: 'Smalltalk', mime: 'text/x-stsrc', mode: 'smalltalk'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
58 {name: 'Smarty', mime: 'text/x-smarty', mode: 'smarty'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
59 {name: 'SPARQL', mime: 'application/x-sparql-query', mode: 'sparql'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
60 {name: 'SQL', mime: 'text/x-sql', mode: 'sql'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
61 {name: 'MariaDB', mime: 'text/x-mariadb', mode: 'sql'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
62 {name: 'sTeX', mime: 'text/x-stex', mode: 'stex'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
63 {name: 'LaTeX', mime: 'text/x-latex', mode: 'stex'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
64 {name: 'Tcl', mime: 'text/x-tcl', mode: 'tcl'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
65 {name: 'TiddlyWiki ', mime: 'text/x-tiddlywiki', mode: 'tiddlywiki'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
66 {name: 'Tiki wiki', mime: 'text/tiki', mode: 'tiki'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
67 {name: 'VB.NET', mime: 'text/x-vb', mode: 'vb'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
68 {name: 'VBScript', mime: 'text/vbscript', mode: 'vbscript'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
69 {name: 'Velocity', mime: 'text/velocity', mode: 'velocity'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
70 {name: 'Verilog', mime: 'text/x-verilog', mode: 'verilog'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
71 {name: 'XML', mime: 'application/xml', mode: 'xml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
72 {name: 'HTML', mime: 'text/html', mode: 'xml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
73 {name: 'XQuery', mime: 'application/xquery', mode: 'xquery'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
74 {name: 'YAML', mime: 'text/x-yaml', mode: 'yaml'},
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
75 {name: 'Z80', mime: 'text/x-z80', mode: 'z80'}
a60a0e9092c6 added codemirror edit mode with autodetection
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
76 ];
4030
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
77
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
78
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
79 MIME_TO_EXT = {
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
80 'application/javascript': ['*.js'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
81 'text/javascript': ['*.js'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
82 'application/json': ['*.json'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
83 'application/postscript': ['*.ps', '*.eps'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
84 'application/x-actionscript': ['*.as'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
85 'application/x-actionscript3': ['*.as'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
86 'application/x-awk': ['*.awk'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
87 'application/x-befunge': ['*.befunge'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
88 'application/x-brainfuck': ['*.bf', '*.b'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
89 'application/x-cheetah': ['*.tmpl', '*.spt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
90 'application/x-coldfusion': ['*.cfm', '*.cfml', '*.cfc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
91 'application/x-csh': ['*.tcsh', '*.csh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
92 'application/x-dos-batch': ['*.bat', '*.cmd'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
93 'application/x-ecl': ['*.ecl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
94 'application/x-evoque': ['*.evoque'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
95 'application/x-fantom': ['*.fan'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
96 'application/x-genshi': ['*.kid'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
97 'application/x-gettext': ['*.pot', '*.po'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
98 'application/x-jsp': ['*.jsp'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
99 'application/x-mako': ['*.mao'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
100 'application/x-mason': ['*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
101 'application/x-myghty': ['*.myt', 'autodelegate'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
102 'application/x-php': ['*.phtml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
103 'application/x-pypylog': ['*.pypylog'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
104 'application/x-qml': ['*.qml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
105 'application/x-sh': ['*.sh', '*.ksh', '*.bash', '*.ebuild', '*.eclass', '.bashrc', 'bashrc', '.bash_*', 'bash_*'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
106 'application/x-sh-session': ['*.shell-session'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
107 'application/x-shell-session': ['*.sh-session'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
108 'application/x-smarty': ['*.tpl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
109 'application/x-ssp': ['*.ssp'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
110 'application/x-troff': ['*.[1234567]', '*.man'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
111 'application/x-urbiscript': ['*.u'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
112 'application/xml+evoque': ['*.xml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
113 'application/xml-dtd': ['*.dtd'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
114 'application/xsl+xml': ['*.xsl', '*.xslt', '*.xpl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
115 'text/S-plus': ['*.S', '*.R', '.Rhistory', '.Rprofile'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
116 'text/coffeescript': ['*.coffee'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
117 'text/css': ['*.css'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
118 'text/haxe': ['*.hx'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
119 'text/html': ['*.html', '*.htm', '*.xhtml', '*.xslt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
120 'text/html+evoque': ['*.html'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
121 'text/html+ruby': ['*.rhtml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
122 'text/idl': ['*.pro'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
123 'text/livescript': ['*.ls'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
124 'text/matlab': ['*.m'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
125 'text/octave': ['*.m'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
126 'text/plain': ['*.txt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
127 'text/scilab': ['*.sci', '*.sce', '*.tst'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
128 'text/smali': ['*.smali'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
129 'text/x-abap': ['*.abap'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
130 'text/x-ada': ['*.adb', '*.ads', '*.ada'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
131 'text/x-apacheconf': ['.htaccess', 'apache.conf', 'apache2.conf'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
132 'text/x-aspectj': ['*.aj'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
133 'text/x-asymptote': ['*.asy'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
134 'text/x-autohotkey': ['*.ahk', '*.ahkl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
135 'text/x-autoit': ['*.au3'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
136 'text/x-bmx': ['*.bmx'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
137 'text/x-boo': ['*.boo'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
138 'text/x-c++hdr': ['*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp','*.CPP'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
139 'text/x-c-objdump': ['*.c-objdump'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
140 'text/x-ceylon': ['*.ceylon'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
141 'text/x-chdr': ['*.c', '*.h', '*.idc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
142 'text/x-clojure': ['*.clj'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
143 'text/x-cmake': ['*.cmake', 'CMakeLists.txt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
144 'text/x-cobol': ['*.cob', '*.COB', '*.cpy', '*.CPY'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
145 'text/x-common-lisp': ['*.cl', '*.lisp', '*.el'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
146 'text/x-coq': ['*.v'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
147 'text/x-cpp-objdump': ['*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
148 'text/x-crocsrc': ['*.croc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
149 'text/x-csharp': ['*.cs'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
150 'text/x-cuda': ['*.cu', '*.cuh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
151 'text/x-cython': ['*.pyx', '*.pxd', '*.pxi'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
152 'text/x-d-objdump': ['*.d-objdump'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
153 'text/x-dart': ['*.dart'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
154 'text/x-dg': ['*.dg'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
155 'text/x-diff': ['*.diff', '*.patch'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
156 'text/x-dsrc': ['*.d', '*.di'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
157 'text/x-duel': ['*.duel', '*.jbst'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
158 'text/x-dylan': ['*.dylan', '*.dyl', '*.intr'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
159 'text/x-dylan-console': ['*.dylan-console'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
160 'text/x-dylan-lid': ['*.lid', '*.hdp'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
161 'text/x-echdr': ['*.ec', '*.eh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
162 'text/x-elixir': ['*.ex', '*.exs'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
163 'text/x-erl-shellsession': ['*.erl-sh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
164 'text/x-erlang': ['*.erl', '*.hrl', '*.es', '*.escript'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
165 'text/x-factor': ['*.factor'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
166 'text/x-fancysrc': ['*.fy', '*.fancypack'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
167 'text/x-felix': ['*.flx', '*.flxh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
168 'text/x-fortran': ['*.f', '*.f90', '*.F', '*.F90'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
169 'text/x-fsharp': ['*.fs', '*.fsi'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
170 'text/x-gas': ['*.s', '*.S'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
171 'text/x-gherkin': ['*.feature'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
172 'text/x-glslsrc': ['*.vert', '*.frag', '*.geo'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
173 'text/x-gnuplot': ['*.plot', '*.plt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
174 'text/x-gooddata-cl': ['*.gdc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
175 'text/x-gooddata-maql': ['*.maql'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
176 'text/x-gosrc': ['*.go'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
177 'text/x-gosu': ['*.gs', '*.gsx', '*.gsp', '*.vark'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
178 'text/x-gosu-template': ['*.gst'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
179 'text/x-groovy': ['*.groovy'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
180 'text/x-haml': ['*.haml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
181 'text/x-haskell': ['*.hs'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
182 'text/x-hybris': ['*.hy', '*.hyb'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
183 'text/x-ini': ['*.ini', '*.cfg'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
184 'text/x-iokesrc': ['*.ik'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
185 'text/x-iosrc': ['*.io'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
186 'text/x-irclog': ['*.weechatlog'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
187 'text/x-jade': ['*.jade'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
188 'text/x-java': ['*.java'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
189 'text/x-java-properties': ['*.properties'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
190 'text/x-julia': ['*.jl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
191 'text/x-kconfig': ['Kconfig', '*Config.in*', 'external.in*', 'standard-modules.in'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
192 'text/x-koka': ['*.kk', '*.kki'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
193 'text/x-kotlin': ['*.kt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
194 'text/x-lasso': ['*.lasso', '*.lasso[89]'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
195 'text/x-literate-haskell': ['*.lhs'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
196 'text/x-llvm': ['*.ll'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
197 'text/x-logos': ['*.x', '*.xi', '*.xm', '*.xmi'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
198 'text/x-logtalk': ['*.lgt'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
199 'text/x-lua': ['*.lua', '*.wlua'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
200 'text/x-makefile': ['*.mak', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
201 'text/x-minidsrc': ['*.md'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
202 'text/x-markdown': ['*.md'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
203 'text/x-modelica': ['*.mo'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
204 'text/x-modula2': ['*.def', '*.mod'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
205 'text/x-monkey': ['*.monkey'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
206 'text/x-moocode': ['*.moo'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
207 'text/x-moonscript': ['*.moon'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
208 'text/x-nasm': ['*.asm', '*.ASM'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
209 'text/x-nemerle': ['*.n'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
210 'text/x-newlisp': ['*.lsp', '*.nl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
211 'text/x-newspeak': ['*.ns2'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
212 'text/x-nimrod': ['*.nim', '*.nimrod'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
213 'text/x-nsis': ['*.nsi', '*.nsh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
214 'text/x-objdump': ['*.objdump'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
215 'text/x-objective-c': ['*.m', '*.h'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
216 'text/x-objective-c++': ['*.mm', '*.hh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
217 'text/x-objective-j': ['*.j'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
218 'text/x-ocaml': ['*.ml', '*.mli', '*.mll', '*.mly'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
219 'text/x-ooc': ['*.ooc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
220 'text/x-opa': ['*.opa'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
221 'text/x-openedge': ['*.p', '*.cls'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
222 'text/x-pascal': ['*.pas'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
223 'text/x-perl': ['*.pl', '*.pm'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
224 'text/x-php': ['*.php', '*.php[345]', '*.inc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
225 'text/x-povray': ['*.pov', '*.inc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
226 'text/x-powershell': ['*.ps1'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
227 'text/x-prolog': ['*.prolog', '*.pro', '*.pl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
228 'text/x-python': ['*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac', '*.sage'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
229 'text/x-python-traceback': ['*.pytb'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
230 'text/x-python3-traceback': ['*.py3tb'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
231 'text/x-r-doc': ['*.Rd'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
232 'text/x-racket': ['*.rkt', '*.rktl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
233 'text/x-rebol': ['*.r', '*.r3'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
234 'text/x-robotframework': ['*.txt', '*.robot'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
235 'text/x-rpm-spec': ['*.spec'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
236 'text/x-rst': ['*.rst', '*.rest'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
237 'text/x-ruby': ['*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
238 'text/x-rustsrc': ['*.rs', '*.rc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
239 'text/x-sass': ['*.sass'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
240 'text/x-scala': ['*.scala'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
241 'text/x-scaml': ['*.scaml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
242 'text/x-scheme': ['*.scm', '*.ss'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
243 'text/x-scss': ['*.scss'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
244 'text/x-smalltalk': ['*.st'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
245 'text/x-snobol': ['*.snobol'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
246 'text/x-sourcepawn': ['*.sp'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
247 'text/x-sql': ['*.sql'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
248 'text/x-sqlite3-console': ['*.sqlite3-console'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
249 'text/x-squidconf': ['squid.conf'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
250 'text/x-standardml': ['*.sml', '*.sig', '*.fun'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
251 'text/x-systemverilog': ['*.sv', '*.svh'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
252 'text/x-tcl': ['*.tcl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
253 'text/x-tea': ['*.tea'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
254 'text/x-tex': ['*.tex', '*.aux', '*.toc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
255 'text/x-typescript': ['*.ts'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
256 'text/x-vala': ['*.vala', '*.vapi'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
257 'text/x-vbnet': ['*.vb', '*.bas'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
258 'text/x-verilog': ['*.v'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
259 'text/x-vhdl': ['*.vhdl', '*.vhd'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
260 'text/x-vim': ['*.vim', '.vimrc', '.exrc', '.gvimrc', '_vimrc', '_exrc', '_gvimrc', 'vimrc', 'gvimrc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
261 'text/x-windows-registry': ['*.reg'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
262 'text/x-xtend': ['*.xtend'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
263 'text/x-yaml': ['*.yaml', '*.yml'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
264 'text/xml': ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
265 'text/xquery': ['*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
266 'text/apl': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
267 'text/x-asterisk': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
268 'text/x-csrc': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
269 'text/x-c++src': ['*.cpp'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
270 'text/x-coffeescript': ['*.coffee'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
271 'text/x-d': ["*.d"],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
272 'text/x-ecl': ['*.ecl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
273 'text/x-go': ['*.go'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
274 'text/x-haxe': ['*.hx'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
275 'application/x-aspx': ['*.aspx'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
276 'application/x-ejs': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
277 'message/http': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
278 'application/x-json': ['*.json'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
279 'application/typescript': ['*.ts'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
280 'jinja2': ['.jinja2'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
281 'text/x-less': ['*.less'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
282 'text/x-livescript': ['*.ls'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
283 'text/mirc': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
284 'text/n-triples': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
285 'application/x-httpd-php': ['*.php'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
286 'text/x-pig': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
287 'text/x-properties': ['*.properties'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
288 'text/x-rsrc': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
289 'text/x-sh': ['*.sh', '*.ksh', '*.bash', '*.ebuild', '*.eclass', '.bashrc', 'bashrc', '.bash_*', 'bash_*'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
290 'application/sieve': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
291 'text/x-stsrc': ['*.rs', '*.rc'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
292 'text/x-smarty': ['*.tpl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
293 'application/x-sparql-query': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
294 'text/x-mariadb': ['*.sql'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
295 'text/x-stex': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
296 'text/x-latex': ["*.ltx"],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
297 'text/x-tiddlywiki': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
298 'text/tiki': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
299 'text/x-vb': ['*.vb'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
300 'text/vbscript': ['*.vb'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
301 'text/velocity': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
302 'application/xml': ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
303 'application/xquery': ['*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
304 'text/x-z80': [],
647308db13ff Added codemirror syntax mode in gists.
Marcin Kuzminski <marcin@python-works.com>
parents: 4026
diff changeset
305 }