clerk/internal/lsp/testdata/definition-include.txtar (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com lsp: go to definition on include file path, 1 month ago
olexsmir@gmail.com lsp: go to definition on include file path, 1 month ago
| 1 | -- in.journal -- |
| 2 | include su^b.journal |
| 3 | include dir/ot^her.journal |
| 4 | |
| 5 | 2024-01-16 Another^ Store |
| 6 | expenses:fo^od 100.00 EUR |
| 7 | assets:ca^sh |
| 8 | |
| 9 | -- dir/other.journal -- |
| 10 | account expenses:entertainment |
| 11 | |
| 12 | 2024-01-13 Cinema |
| 13 | expenses:entertainment £10 |
| 14 | assets:bank |
| 15 | |
| 16 | -- sub.journal -- |
| 17 | account expenses:food |
| 18 | |
| 19 | 2024-01-15 Grocery Store |
| 20 | expenses:food $50 |
| 21 | assets:cash |
| 22 | |
| 23 | -- expect -- |
| 24 | 0:10 sub.journal 0:0-0:0 |
| 25 | 1:14 other.journal 0:0-0:0 |
| 26 | 3:18 in.journal 3:11-3:24 |
| 27 | 4:13 sub.journal 0:8-0:21 |
| 28 | 5:11 sub.journal 4:2-4:13 |