-
-
Notifications
You must be signed in to change notification settings - Fork 378
Commit 7ea9e7c
committed
feat: return empty response to textDocument/formatting if no changes
Do not send "edits" if the content remains unchanged after LSP
formatting. Otherwise, Neovim reports an unsaved buffer even when no
actual changes were made1 parent 802e13c commit 7ea9e7c
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
24 | 28 |
| |
25 | 29 |
| |
26 | 30 |
| |
|
0 commit comments