gerrit/lib/codemirror/cm3.defs
David Ostrovsky 095d7f86a1 CM3: Add reStructuredText mode
Rst mode depends on stex mode and makes use of overlay.

Bug: Issue 2779
Change-Id: Idf745f50459b3d058d9a84496e43745c64ddfe5d
2014-07-18 01:36:52 +00:00

64 lines
1.2 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',
'addon/mode/overlay.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',
'rst/rst.js',
'ruby/ruby.js',
'scheme/scheme.js',
'shell/shell.js',
'smalltalk/smalltalk.js',
'sql/sql.js',
'stex/stex.js',
'tcl/tcl.js',
'velocity/velocity.js',
'verilog/verilog.js',
'xml/xml.js',
'yaml/yaml.js',
]