Skip to content

Conversation

nelhage
Copy link
Contributor

@nelhage nelhage commented Aug 19, 2025

fixes #4857

Rewrite the exists tests to testing at the new `lsp--configuration-for
-section-path` helper, which was the primary logic being handled by
the old case, anyways. Add one new test which tests the entire
response-generation, and exercises the case of >1 section.
@nelhage
Copy link
Contributor Author

nelhage commented Aug 19, 2025

The remaining test failures don't seem related to my change. Possibly bitrot from an upstream change this week.

In lsp-on-change:
lsp-mode.el:4896:18: Error: ‘revert-buffer-in-progress-p’ is an obsolete variable (as of 31.1); use ‘revert-buffer-in-progress’ instead.

In lsp-on-revert:
lsp-mode.el:5187:10: Error: ‘revert-buffer-in-progress-p’ is an obsolete variable (as of 31.1); use ‘revert-buffer-in-progress’ instead.

@nelhage
Copy link
Contributor Author

nelhage commented Aug 20, 2025

Yep, test failures are due to upstream, attempting a fix in #4859.

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.

lsp-mode ignores scopeUri in workspace/configuration requests
1 participant