Renamed properties input option as INI

- Also made INI be recognised as the codemirror "Properties" format.
This commit is contained in:
Dan Brown
2019-10-17 21:16:55 +01:00
parent 8b4bfa4d78
commit b09ea76b8d
3 changed files with 5 additions and 3 deletions

View File

@ -29,6 +29,8 @@ import 'codemirror/mode/yaml/yaml';
// Addons
import 'codemirror/addon/scroll/scrollpastend';
// Mapping of potential languages or formats from user input
// to their proper codemirror modes.
const modeMap = {
css: 'css',
c: 'text/x-csrc',
@ -43,7 +45,7 @@ const modeMap = {
haskell: 'haskell',
hs: 'haskell',
html: 'htmlmixed',
ini: 'ini',
ini: 'properties',
javascript: 'javascript',
json: {name: 'javascript', json: true},
js: 'javascript',