mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
[cm6] Match uppercase file extensions in the include autocomplete (#14956)
GitOrigin-RevId: eb6898ef031dcc05f9fcb530fd4578ffda234a14
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ export function buildIncludeCompletions(
|
||||
}
|
||||
|
||||
// TODO: a better list of graphics extensions?
|
||||
if (/\.(eps|jpe?g|gif|png|tiff?|pdf|svg)$/.test(path)) {
|
||||
if (/\.(eps|jpe?g|gif|png|tiff?|pdf|svg)$/i.test(path)) {
|
||||
// path parameter for \includegraphics{path}
|
||||
completions.graphics.push({
|
||||
type: 'file',
|
||||
|
||||
Reference in New Issue
Block a user