mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Exclude CtrlSym commands from completion (#12905)
GitOrigin-RevId: f6d1813eba6c17444d2371b024f538137c244963
This commit is contained in:
@@ -102,6 +102,10 @@ export const enterNode = (
|
||||
return
|
||||
}
|
||||
|
||||
if (ctrlSeq.type.is('$CtrlSym')) {
|
||||
return
|
||||
}
|
||||
|
||||
const optionalArguments = commandNode.getChildren('OptionalArgument')
|
||||
const commandArguments = commandNode.getChildren('$Argument')
|
||||
const text = state.doc.sliceString(ctrlSeq.from, ctrlSeq.to)
|
||||
|
||||
Reference in New Issue
Block a user