Mark cfg, rnw, ltx and inc files as text so that they are editable GitOrigin-RevId: 486365486f46beebbb13cad3e0cc45711e1809e4
@@ -91,6 +91,10 @@ const defaultTextExtensions = [
'lhs',
'mk',
'xmpdata',
+ 'cfg',
+ 'rnw',
+ 'ltx',
+ 'inc',
]
const parseTextExtensions = function (extensions) {
@@ -186,6 +186,10 @@ const initialize = () => {
],
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
@@ -64,6 +64,10 @@ window.ExposedSettings = {
}
@@ -92,6 +92,10 @@ describe('FileTypeManager', function () {
'/file.TEX',
'/file.lhs',
'/file.xmpdata',
+ '/file.cfg',
+ '/file.rnw',
+ '/file.ltx',
+ '/file.inc',
'/makefile',
'/Makefile',
'/GNUMakefile',