diff --git a/src/renderer/components/editor/README.md b/src/renderer/components/editor/README.md index d0ca483c..acf2f193 100644 --- a/src/renderer/components/editor/README.md +++ b/src/renderer/components/editor/README.md @@ -105,7 +105,6 @@ This is a list of language that supports in massCode. - PHP (Blade Template) - Pig - Plain Text -- Plain Text - Powershell - Praat - Prisma diff --git a/src/renderer/components/editor/languages.ts b/src/renderer/components/editor/languages.ts index 9139f0ab..fa3fa4a2 100644 --- a/src/renderer/components/editor/languages.ts +++ b/src/renderer/components/editor/languages.ts @@ -375,12 +375,6 @@ export const languages: LanguageOption[] = [ grammar: () => import('./grammars/io.tmLanguage.json'), scopeName: 'source.io' }, - { - name: 'Pug', - value: 'pug', - grammar: () => import('./grammars/pug.tmLanguage.json'), - scopeName: 'text.pug' - }, { name: 'Java', value: 'java', @@ -622,7 +616,12 @@ export const languages: LanguageOption[] = [ grammar: () => import('./grammars/pig.tmLanguage.json'), scopeName: 'source.pig' }, - { name: 'Plain Text', value: 'plain_text' }, + { + name: 'Plain Text', + value: 'plain_text', + grammar: () => import('./grammars/plain-text.tmLanguage.json'), + scopeName: 'text.plain' + }, { name: 'Powershell', value: 'powershell', @@ -659,6 +658,12 @@ export const languages: LanguageOption[] = [ grammar: () => import('./grammars/protobuf.tmLanguage.json'), scopeName: 'source.proto' }, + { + name: 'Pug', + value: 'pug', + grammar: () => import('./grammars/pug.tmLanguage.json'), + scopeName: 'text.pug' + }, { name: 'Puppet', value: 'puppet', @@ -857,12 +862,6 @@ export const languages: LanguageOption[] = [ grammar: () => import('./grammars/tex.tmLanguage.json'), scopeName: 'text.tex' }, - { - name: 'Plain Text', - value: 'plain_text', - grammar: () => import('./grammars/plain-text.tmLanguage.json'), - scopeName: 'text.plain' - }, { name: 'Textile', value: 'textile',