Commit a2db417
committed
notify before using LSP as fallback formatter
I want to know about the configured formatter failing, because the LSP's
formatting behavior might be different, and I might not notice the
difference.
I've also added a comment to illustrate what other options are possible,
such as turning off the fallback entirely with `false`. I'll leave the
fallback up for now because at least I'm getting notifications!
This was motivated by initially being confused about whether `mix` was
trimming trailing whitespace or not. Turns out it *was* trimming
trailing whitespace, just not for comments.1 parent 2a953bb commit a2db417
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments