Files
Codiad/components/fileExtTextMode/defaultValues.php
Christian von Arnim 9991285d49 Add FileExtensionTextMode plugin
a plugin to customize the join of file extension and the text mode.

also add an API to the editor for this.
2013-05-17 12:38:37 +02:00

107 lines
1.4 KiB
PHP

<?php
define('PATH_TO_FILE_EXT_TEXT_MODE', 'components/FileExtTextMode/' );
$defaultExtensions = array(
'html' => 'html',
'htm' => 'html',
'tpl' => 'html',
'js' => 'javascript',
'css' => 'css',
'scss' => 'scss',
'sass' => 'scss',
'less' => 'less',
'php' => 'php',
'php4' => 'php',
'php5' => 'php',
'phtml' => 'php',
'json' => 'json',
'xml' => 'xml',
'sql' => 'sql',
'md' => 'markdown',
'c' => 'c_cpp',
'cpp' => 'c_cpp',
'h' => 'c_cpp',
'hpp' => 'c_cpp',
'py' => 'python',
'rb' => 'ruby',
'jade' => 'jade',
'coffee' => 'coffee');
$availiableTextModes = array(
'abap',
'asciidoc',
'c9search',
'c_cpp',
'clojure',
'coffee',
'coldfusion',
'csharp',
'css',
'curly',
'dart',
'diff',
'django',
'dot',
'ftl',
'glsl',
'golang',
'groovy',
'haml',
'haxe',
'html',
'jade',
'java',
'javascript',
'json',
'jsp',
'jsx',
'latex',
'less',
'liquid',
'lisp',
'livescript',
'logiql',
'lsl',
'lua',
'luapage',
'lucene',
'makefile',
'markdown',
'mushcode',
'objectivec',
'ocaml',
'pascal',
'perl',
'pgsql',
'php',
'powershell',
'python',
'r',
'rdoc',
'rhtml',
'ruby',
'sass',
'scad',
'scala',
'scheme',
'scss',
'sh',
'sql',
'stylus',
'svg',
'tcl',
'tex',
'text',
'textile',
'tmsnippet',
'toml',
'typescript',
'vbscript',
'velocity',
'xml',
'xquery',
'yaml'
);
?>