File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,12 @@ export class ContextVariables {
98
98
this . inlineCompletionTriggerModeValue = value ;
99
99
}
100
100
101
- get chatOutline ( ) : boolean {
101
+ get chatOutlineEnabled ( ) : boolean {
102
102
return this . chatOutlineValue ;
103
103
}
104
104
105
- set chatOutline ( value : boolean ) {
106
- commands . executeCommand ( "setContext" , "tabby.chat.outline " , value ) ;
105
+ set chatOutlineEnabled ( value : boolean ) {
106
+ commands . executeCommand ( "setContext" , "tabby.chatOutlineEnabled " , value ) ;
107
107
this . chatOutlineValue = value ;
108
108
}
109
109
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { Config } from "../Config";
19
19
import OpenAI from "openai" ;
20
20
import generateNLOutlinesPrompt from "../../assets/prompts/generateNLOutlines.txt" ;
21
21
import editNLOutline from "../../assets/prompts/editNLOutline.txt" ;
22
- import * as Diff from "diff" ;
22
+ import { diffLines } from "diff" ;
23
23
24
24
interface ChatNLOutlinesParams {
25
25
location : Location ;
@@ -313,7 +313,7 @@ export class NLOutlinesProvider extends EventEmitter<void> implements CodeLensPr
313
313
const removed : string [ ] = [ ] ;
314
314
const unchanged : string [ ] = [ ] ;
315
315
316
- Diff . diffLines ( oldCode , newCode ) . forEach ( ( diff ) => {
316
+ diffLines ( oldCode , newCode ) . forEach ( ( diff ) => {
317
317
const lines = diff . value . split ( "\n" ) . filter ( ( line ) => line !== "" ) ;
318
318
if ( diff . added ) {
319
319
added . push ( ...lines ) ;
You can’t perform that action at this time.
0 commit comments