Skip to content

Revert "Address 'no scope' warning"#1203

Merged
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:1201-revert-sending-null-string-as-scope
Mar 3, 2026
Merged

Revert "Address 'no scope' warning"#1203
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:1201-revert-sending-null-string-as-scope

Conversation

@datho7561
Copy link
Copy Markdown
Contributor

What does this PR do?

This reverts commit d17039f.

Sending 'null' goes against the LSP spec, so it only works with VS Code and LSP clients that are replicating this behaviour. (i.e. VS Code and neovim work, but emacs, helix, and many other clients don't)

What issues does this PR fix or reference?

Fixes #1201, fixes #1202

Is it tested? How?

CI

Copy link
Copy Markdown
Member

@shin19991207 shin19991207 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks, David!

This reverts commit d17039f.

Sending 'null' goes against the LSP spec,
so it only works with VS Code and LSP clients that are replicating this
behaviour.
(i.e. VS Code and neovim work, but emacs, helix, and many other clients don't)

Fixes redhat-developer#1201, fixes redhat-developer#1202
@datho7561 datho7561 force-pushed the 1201-revert-sending-null-string-as-scope branch from 76644ec to 9316f9a Compare March 2, 2026 22:09
@datho7561 datho7561 merged commit 703a4b8 into redhat-developer:main Mar 3, 2026
4 checks passed
@datho7561 datho7561 deleted the 1201-revert-sending-null-string-as-scope branch March 3, 2026 13:59
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.

schema is not detected Emacs eglot gets Internal error when processing workspace/configuration server request

2 participants