mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
remove comments
This commit is contained in:
parent
473250d8bc
commit
87076ed586
1 changed files with 0 additions and 8 deletions
|
|
@ -533,20 +533,12 @@ const getCompletionOptions = (prefixAndSuffix: PrefixAndSuffixInfo, relevantCont
|
|||
|
||||
let { prefix, suffix, prefixToTheLeftOfCursor, suffixToTheRightOfCursor, suffixLines, prefixLines } = prefixAndSuffix
|
||||
|
||||
|
||||
console.log('old prefix', JSON.stringify(prefix))
|
||||
console.log('old suffix', JSON.stringify(suffix))
|
||||
|
||||
// trim prefix and suffix to not be very large
|
||||
suffixLines = suffix.split(_ln).slice(0, 25)
|
||||
prefixLines = prefix.split(_ln).slice(-25)
|
||||
prefix = prefixLines.join(_ln)
|
||||
suffix = suffixLines.join(_ln)
|
||||
|
||||
console.log('new prefix', JSON.stringify(prefix))
|
||||
console.log('new suffix', JSON.stringify(suffix))
|
||||
|
||||
|
||||
let completionOptions: CompletionOptions
|
||||
|
||||
// if line is empty, do multiline completion
|
||||
|
|
|
|||
Loading…
Reference in a new issue