mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
6d86e14b05
commit
11791bc6b7
4 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,7 @@ const defaultTextExtensions = [
|
||||||
'yaml',
|
'yaml',
|
||||||
'lhs',
|
'lhs',
|
||||||
'mk',
|
'mk',
|
||||||
|
'xmpdata',
|
||||||
]
|
]
|
||||||
|
|
||||||
const parseTextExtensions = function (extensions) {
|
const parseTextExtensions = function (extensions) {
|
||||||
|
|
|
@ -185,6 +185,7 @@ const initialize = () => {
|
||||||
'mf',
|
'mf',
|
||||||
'lhs',
|
'lhs',
|
||||||
'mk',
|
'mk',
|
||||||
|
'xmpdata',
|
||||||
],
|
],
|
||||||
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
|
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
|
||||||
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
|
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
|
||||||
|
|
1
services/web/test/frontend/bootstrap.js
vendored
1
services/web/test/frontend/bootstrap.js
vendored
|
@ -63,6 +63,7 @@ window.ExposedSettings = {
|
||||||
'mf',
|
'mf',
|
||||||
'lhs',
|
'lhs',
|
||||||
'mk',
|
'mk',
|
||||||
|
'xmpdata',
|
||||||
],
|
],
|
||||||
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
|
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,6 +91,7 @@ describe('FileTypeManager', function () {
|
||||||
'/something/file.m',
|
'/something/file.m',
|
||||||
'/file.TEX',
|
'/file.TEX',
|
||||||
'/file.lhs',
|
'/file.lhs',
|
||||||
|
'/file.xmpdata',
|
||||||
'/makefile',
|
'/makefile',
|
||||||
'/Makefile',
|
'/Makefile',
|
||||||
'/GNUMakefile',
|
'/GNUMakefile',
|
||||||
|
|
Loading…
Reference in a new issue