Only use the LaTeX indent service for when inserting a line break (#21530)

GitOrigin-RevId: 15c5e5afdee59badc833fe2deb13a80b3c409862
This commit is contained in:
Alf Eaton
2024-11-12 09:05:30 +00:00
committed by Copybot
parent 54ec174331
commit 66fee7a794
4 changed files with 13 additions and 23 deletions
@@ -126,6 +126,7 @@ describe('emacs keybindings', { scrollBehavior: false }, function () {
beforeEach(function () {
window.metaAttributesCache.set('ol-preventCompileOnLoad', true)
cy.interceptEvents()
cy.interceptMetadata()
const shortDoc = `
\\documentclass{article}
@@ -227,6 +228,7 @@ describe('vim keybindings', { scrollBehavior: false }, function () {
beforeEach(function () {
window.metaAttributesCache.set('ol-preventCompileOnLoad', true)
cy.interceptEvents()
cy.interceptMetadata()
// Make a short doc that will fit entirely into the dom tree, so that
// index() corresponds to line number - 1