From e59cbc61cf6620e389ce6aa7689b3a600fb3cc16 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 08:28:22 +0100 Subject: [PATCH] Merge pull request #33134 from overleaf/copilot/fix-autocomplete-subparagraph GitOrigin-RevId: 2ca0b9ab5de393b9b0a256c81450f57d933376fc --- .../latex/completions/data/top-hundred-snippets.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/web/frontend/js/features/source-editor/languages/latex/completions/data/top-hundred-snippets.ts b/services/web/frontend/js/features/source-editor/languages/latex/completions/data/top-hundred-snippets.ts index dddc4f2cdf..86e3ae78fd 100644 --- a/services/web/frontend/js/features/source-editor/languages/latex/completions/data/top-hundred-snippets.ts +++ b/services/web/frontend/js/features/source-editor/languages/latex/completions/data/top-hundred-snippets.ts @@ -539,6 +539,12 @@ export default [ meta: 'cmd', score: 0.152074250347974, }, + { + caption: '\\subparagraph{}', + snippet: '\\subparagraph{$1}', + meta: 'cmd', + score: 0.13, + }, { caption: '\\varepsilon', snippet: '\\varepsilon',