1065a871cc
Include more languages into the CM3 mapping supported by Gerrit:
* coffeescript
* d
* diff
* dtd
* erlang
* gas
* gfm (GitHub Flavored Markdown)
* haskell
* lua
* markdown
* php
* pig
* r
* scheme
* smalltalk
* tcl
* verilog
* yaml
Change-Id: Ie3cc3657183a475fb71a71e0fe35be848deb985f
(cherry picked from commit 5478148f6f
)
61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
Plaintext
CM3_CSS = [
|
|
'lib/codemirror.css',
|
|
'addon/dialog/dialog.css',
|
|
]
|
|
|
|
CM3_THEMES = [
|
|
'theme/eclipse.css',
|
|
'theme/elegant.css',
|
|
'theme/midnight.css',
|
|
'theme/neat.css',
|
|
'theme/night.css',
|
|
'theme/twilight.css',
|
|
]
|
|
|
|
CM3_JS = [
|
|
'lib/codemirror.js',
|
|
'keymap/vim.js',
|
|
'addon/dialog/dialog.js',
|
|
'addon/search/searchcursor.js',
|
|
'addon/search/search.js',
|
|
'addon/selection/mark-selection.js',
|
|
'addon/edit/trailingspace.js',
|
|
]
|
|
|
|
CM3_MODES = [
|
|
'clike/clike.js',
|
|
'clojure/clojure.js',
|
|
'coffeescript/coffeescript.js',
|
|
'commonlisp/commonlisp.js',
|
|
'css/css.js',
|
|
'd/d.js',
|
|
'diff/diff.js',
|
|
'dtd/dtd.js',
|
|
'erlang/erlang.js',
|
|
'gas/gas.js',
|
|
'gfm/gfm.js',
|
|
'go/go.js',
|
|
'groovy/groovy.js',
|
|
'haskell/haskell.js',
|
|
'htmlmixed/htmlmixed.js',
|
|
'javascript/javascript.js',
|
|
'lua/lua.js',
|
|
'markdown/markdown.js',
|
|
'perl/perl.js',
|
|
'php/php.js',
|
|
'pig/pig.js',
|
|
'properties/properties.js',
|
|
'python/python.js',
|
|
'r/r.js',
|
|
'ruby/ruby.js',
|
|
'scheme/scheme.js',
|
|
'shell/shell.js',
|
|
'smalltalk/smalltalk.js',
|
|
'sql/sql.js',
|
|
'tcl/tcl.js',
|
|
'velocity/velocity.js',
|
|
'verilog/verilog.js',
|
|
'xml/xml.js',
|
|
'yaml/yaml.js',
|
|
]
|