Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hover provider count view setting #2415

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

jwortmann
Copy link
Member

@jwortmann jwortmann commented Feb 7, 2024

Instead it can be stored on the DocumentSyncListener instance, which is created once per view (by ST).

I think view settings should only be used to create context keys (setting.lsp_active) or to potentially interact with other packages (lsp_uri - not sure if that was the intention, but I think this setting is okay). The hover provider count is only an internal variable of the LSP package, so it doesn't really belong into the settings.

@rwols rwols merged commit 3423763 into sublimelsp:main Feb 8, 2024
8 checks passed
@jwortmann jwortmann deleted the remove-hover-view-setting branch February 8, 2024 13:42
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.

3 participants