Commit 85b0582
committed
Support statically registering format support
Some clients, like Neovim, do not support dynamic registration of
formatting and range formatting.
In this case, to tell the client that formatting is supported,
the response to `initialized`, which contains the `ServerCapabilities`,
should mark formatting and range formatting as supported.
Fixes #1031
Signed-off-by: David Thompson <[email protected]>1 parent 6c66fdf commit 85b0582
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments