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 524c586a08
commit e03097c258
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',