Merge pull request #15264 from overleaf/mf-xmpdata-enable

Add `*.xmpdata` to editor editable file extension list

GitOrigin-RevId: 8dc0947f494502da4c8f921830c86fa1b345eba2
This commit is contained in:
M Fahru 2023-10-18 09:24:12 -07:00 committed by Copybot
parent 6d86e14b05
commit 11791bc6b7
4 changed files with 4 additions and 0 deletions

View file

@ -86,6 +86,7 @@ const defaultTextExtensions = [
'yaml',
'lhs',
'mk',
'xmpdata',
]
const parseTextExtensions = function (extensions) {

View file

@ -185,6 +185,7 @@ const initialize = () => {
'mf',
'lhs',
'mk',
'xmpdata',
],
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],

View file

@ -63,6 +63,7 @@ window.ExposedSettings = {
'mf',
'lhs',
'mk',
'xmpdata',
],
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
}

View file

@ -91,6 +91,7 @@ describe('FileTypeManager', function () {
'/something/file.m',
'/file.TEX',
'/file.lhs',
'/file.xmpdata',
'/makefile',
'/Makefile',
'/GNUMakefile',