Files
undefined 5faa54c7ca ui-default: init
将ui-default合并至主存储库便于维护
2021-04-03 01:44:22 +08:00

16 lines
595 B
JavaScript

// The following content is extracted from:
// https://github.com/codemirror/CodeMirror/blob/master/mode/meta.js
export default [
{ name: 'C', ext: ['c', 'h'] },
{ name: 'C++', ext: ['cpp', 'c++', 'cc', 'cxx', 'hpp', 'h++', 'hh', 'hxx'] },
{ name: 'Go', ext: ['go'] },
{ name: 'Haskell', ext: ['hs'] },
{ name: 'Java', ext: ['java'] },
{ name: 'JavaScript', ext: ['js'] },
{ name: 'Pascal', ext: ['p', 'pas'] },
{ name: 'PHP', ext: ['php', 'php3', 'php4', 'php5', 'php7', 'phtml'] },
{ name: 'Python', ext: ['BUILD', 'bzl', 'py', 'pyw'] },
{ name: 'Rust', ext: ['rs'] },
];