Skip to content

Commit

Permalink
fix: jump to label would be disabled when it shouldn't be
Browse files Browse the repository at this point in the history
  • Loading branch information
furudean committed Aug 19, 2024
1 parent d8c348c commit 8d58996
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## Unreleased

- Fix a bug where jump to label would be disabled when it shouldn't be

## 1.18.0 - 2024-08-18

- Handle "misbehaving" Ren'Py processes
Expand Down
5 changes: 5 additions & 0 deletions src/lib/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ export function register_handlers(
)
context.subscriptions.push(save_text_handler)

vscode.commands.executeCommand(
'setContext',
'renpyWarp.renpyExtensionsEnabled',
get_config('renpyExtensionsEnabled') === 'Enabled'
)
const server_on_change = vscode.workspace.onDidChangeConfiguration((e) => {
if (
e.affectsConfiguration('renpyWarp.autoStartSocketServer') ||
Expand Down

0 comments on commit 8d58996

Please sign in to comment.