Commit 2a2ec99
jordanbreen28
CAT-1670 - Fix undefined variable json_rpc_handler
Prior to this commit, we would see in the language server logs that we
were referencing an undefined variable `json_rpc_handler`.
This had knock on effects, such as registering the onTypeformatting
provider, meaning this setting would not work when enabled.
We now update the json_rpc_handler send message event to be consistent
with the rest of the language server, and to fix the undefined variable
error.
The dynamically registered providers, like onTypeFormatting, will now
work as expected.1 parent f36499a commit 2a2ec99
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
| |||
0 commit comments