Commit c89215d
* Support Persist Bookmarks
* Fix node new open error
* Fix filter marks index issue
* Made saving/loading conditional on enable_persistence,
* add method comments
* Use a pcall to prevent an error being raised
* Print errmsg and disable persistence on a bad path
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix: use public list() method instead of accessing private marks field
* refactor: rename marks config to bookmarks and simplify persistence API
- Rename opts.marks to opts.bookmarks for better clarity
- Simplify persist option to boolean | string (true uses default path)
- Implement lazy node resolution for loaded bookmarks
- Update documentation with new bookmarks configuration
- Improve bulk operations to use public list() method consistently
* refactor: rename marks config to bookmarks and simplify persistence API
- Rename opts.marks to opts.bookmarks for better clarity
- Simplify persist option to boolean | string (true uses default path)
- Implement lazy node resolution for loaded bookmarks
- Update documentation with new bookmarks configuration
- Improve bulk operations to use public list() method consistently
* add errmsg in return
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix: correct indentation in filters.lua to match codestyle
* fix: add missing else block to handle bookmark save errors and use errmsg variable
* refactor: use string.format for bookmark warnings and update documentation
- Replace string concatenation with string.format in bookmark error messages
- Remove outdated comment about bookmark persistence from documentation
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
1 parent e66994d commit c89215d
File tree
4 files changed
+135
-16
lines changed- doc
- lua
- nvim-tree
- explorer
- marks
4 files changed
+135
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
642 | 646 | | |
643 | 647 | | |
644 | 648 | | |
| |||
1401 | 1405 | | |
1402 | 1406 | | |
1403 | 1407 | | |
1404 | | - | |
1405 | 1408 | | |
1406 | 1409 | | |
1407 | 1410 | | |
| |||
1657 | 1660 | | |
1658 | 1661 | | |
1659 | 1662 | | |
1660 | | - | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1661 | 1674 | | |
1662 | 1675 | | |
1663 | 1676 | | |
1664 | 1677 | | |
1665 | 1678 | | |
1666 | 1679 | | |
1667 | | - | |
| 1680 | + | |
1668 | 1681 | | |
1669 | 1682 | | |
1670 | 1683 | | |
| |||
3189 | 3202 | | |
3190 | 3203 | | |
3191 | 3204 | | |
| 3205 | + | |
3192 | 3206 | | |
3193 | 3207 | | |
3194 | 3208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
517 | 520 | | |
518 | 521 | | |
519 | 522 | | |
| |||
530 | 533 | | |
531 | 534 | | |
532 | 535 | | |
533 | | - | |
| 536 | + | |
534 | 537 | | |
535 | 538 | | |
536 | 539 | | |
| |||
581 | 584 | | |
582 | 585 | | |
583 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
584 | 590 | | |
585 | 591 | | |
586 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
| 211 | + | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
14 | 61 | | |
15 | 62 | | |
16 | 63 | | |
| |||
26 | 73 | | |
27 | 74 | | |
28 | 75 | | |
29 | | - | |
30 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
31 | 85 | | |
32 | 86 | | |
33 | 87 | | |
| |||
59 | 113 | | |
60 | 114 | | |
61 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
62 | 122 | | |
63 | 123 | | |
64 | 124 | | |
| |||
67 | 127 | | |
68 | 128 | | |
69 | 129 | | |
70 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
71 | 145 | | |
72 | 146 | | |
73 | 147 | | |
74 | 148 | | |
75 | 149 | | |
76 | 150 | | |
77 | 151 | | |
78 | | - | |
79 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
80 | 169 | | |
81 | 170 | | |
82 | 171 | | |
| |||
90 | 179 | | |
91 | 180 | | |
92 | 181 | | |
93 | | - | |
| 182 | + | |
94 | 183 | | |
95 | 184 | | |
96 | 185 | | |
| |||
119 | 208 | | |
120 | 209 | | |
121 | 210 | | |
122 | | - | |
| 211 | + | |
123 | 212 | | |
124 | 213 | | |
125 | 214 | | |
| |||
172 | 261 | | |
173 | 262 | | |
174 | 263 | | |
175 | | - | |
| 264 | + | |
176 | 265 | | |
177 | 266 | | |
178 | 267 | | |
| |||
259 | 348 | | |
260 | 349 | | |
261 | 350 | | |
262 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
263 | 362 | | |
264 | 363 | | |
265 | 364 | | |
| |||
0 commit comments