Commit 85abe29
feat: use virtual title in notifications if title is not supported (#2439)
* feat: use virtual title in notifications if title is not supported
* Fix boolean expressions
* Replace `pcall` with `package.loaded`
* Detect title support before sending notification
* Prevent `title_support` from being nil after evaluation
* temporary stylua suppression
---------
Co-authored-by: Alexander Courtis <[email protected]>1 parent d8e495b commit 85abe29
2 files changed
+23
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 18 | + | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| |||
730 | 725 | | |
731 | 726 | | |
732 | 727 | | |
733 | | - | |
| 728 | + | |
734 | 729 | | |
735 | 730 | | |
736 | 731 | | |
| |||
743 | 738 | | |
744 | 739 | | |
745 | 740 | | |
746 | | - | |
| 741 | + | |
747 | 742 | | |
748 | 743 | | |
749 | 744 | | |
| |||
766 | 761 | | |
767 | 762 | | |
768 | 763 | | |
769 | | - | |
| 764 | + | |
770 | 765 | | |
771 | 766 | | |
772 | 767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
8 | 23 | | |
9 | 24 | | |
10 | 25 | | |
| |||
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
23 | 42 | | |
24 | 43 | | |
25 | 44 | | |
| |||
0 commit comments