Skip to content

refactor: enforce global-only debug option placement#24

Merged
observerw merged 3 commits intomainfrom
fix/global-option-placement
Jan 16, 2026
Merged

refactor: enforce global-only debug option placement#24
observerw merged 3 commits intomainfrom
fix/global-option-placement

Conversation

@observerw
Copy link
Contributor

@observerw observerw commented Jan 16, 2026

Summary

  • Restrict --debug option to global placement only (lsp --debug <command>).
  • Removed DebugOpt from all subcommands to avoid confusion and position-sensitivity issues.
  • Centralized the debug option definition in the main CLI callback.
  • Cleaned up redundant setup_debug calls and imports in all capability modules and the server management module.

@observerw observerw changed the title Fix position-sensitive global option placement (issue 3.1) Fix position-sensitive global option placement Jan 16, 2026
@observerw observerw changed the title Fix position-sensitive global option placement refactor: enforce global-only debug option placement Jan 16, 2026
@observerw observerw merged commit 968cacd into main Jan 16, 2026
1 check failed
@observerw observerw deleted the fix/global-option-placement branch January 16, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant