diff options
| author | Yi Ming <ofseed@foxmail.com> | 2026-06-03 05:39:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-02 17:39:56 -0400 |
| commit | cf9ad39267d9dc5f15ff0e4c6eda236b2c7e39fe (patch) | |
| tree | e46ea1adf5a1cdbe68d101baceaf512cafb772ee /runtime/lua/vim/hl.lua | |
| parent | 31a8bf1a63fe973573ecb4be910fd2e8c151cd7a (diff) | |
| download | rneovim-cf9ad39267d9dc5f15ff0e4c6eda236b2c7e39fe.tar.gz rneovim-cf9ad39267d9dc5f15ff0e4c6eda236b2c7e39fe.tar.bz2 rneovim-cf9ad39267d9dc5f15ff0e4c6eda236b2c7e39fe.zip | |
fix(lsp): handle requests with null id #40073
Problem:
PR #38340 prevented messages we receive with id:null from being
incorrectly classified as notifications, but caused us to ignore all
messages with id:null, including requests.
Solution:
Handle requests with id:null. When we receive a request, we only need to
respond based on the `method` and `param`.
(The original so-called `notification_received` in the test was actually
semantically `request_or_notification_received`.)
Diffstat (limited to 'runtime/lua/vim/hl.lua')
0 files changed, 0 insertions, 0 deletions