Riley Bruins
6711fa27ca
fix(treesitter): recalculate folds on VimEnter #32240
...
**Problem:** In the case where the user sets the treesitter foldexpr upon startup in
their `init.lua`, the fold info will be calculated before the parser has
been loaded in, meaning folds will be properly calculated until edits or
`:e`.
**Solution:** Refresh fold information upon `VimEnter` as a sanity check
to ensure that a parser really doesn't exist before always returning
`'0'` in the foldexpr.
2025-01-28 12:22:25 -08:00
..
2025-01-27 16:37:50 +00:00
2024-06-04 06:06:02 -07:00
2025-01-27 16:37:50 +00:00
2025-01-05 12:28:01 +01:00
2025-01-27 16:37:50 +00:00
2025-01-27 16:37:50 +00:00
2025-01-27 16:37:50 +00:00
2025-01-28 12:22:25 -08:00
2023-12-21 11:47:04 +08:00
2024-11-17 13:31:24 -08:00
2024-09-28 00:31:45 +02:00
2025-01-14 21:25:25 -08:00
2025-01-27 16:37:50 +00:00
2024-03-06 10:45:22 +00:00
2025-01-27 16:37:50 +00:00
2024-10-21 00:54:43 +02:00
2025-01-27 16:37:50 +00:00
2024-12-20 01:43:56 -08:00
2024-10-21 11:32:06 +01:00
2025-01-27 16:37:50 +00:00
2024-01-16 09:33:10 +00:00
2025-01-27 16:37:50 +00:00
2025-01-27 16:37:50 +00:00
2025-01-05 12:28:01 +01:00
2025-01-27 16:37:50 +00:00
2025-01-27 16:37:50 +00:00
2025-01-22 07:46:24 -08:00
2025-01-27 16:37:50 +00:00
2024-09-01 13:01:24 -07:00
2024-10-21 11:32:06 +01:00
2024-12-04 10:17:46 -06:00
2025-01-15 02:01:44 -08:00
2024-02-03 16:53:41 +01:00
2025-01-27 16:37:50 +00:00
2024-10-21 11:32:06 +01:00
2025-01-27 16:37:50 +00:00
2025-01-14 21:25:25 -08:00
2024-10-31 11:55:23 +00:00
2024-11-26 13:56:01 -06:00
2025-01-27 16:37:50 +00:00
2024-10-31 11:55:23 +00:00
2025-01-27 16:37:50 +00:00
2024-12-23 05:08:20 -08:00
2025-01-14 19:55:29 -08:00