Evgeni Chasnovski
6b9b4a1377
fix(vim.filetype): match() fails if g:ft_ignore_pat is not defined #39158
...
Problem: Calling `vim.filetype.match({ filename = '...', buf = ... })`
during startup results in an error due to not yet defined
`g:ft_ignore_pat`.
Solution: Add a guard to check `g:ft_ignore_pat` related properties only
if the variable is defined. This also allows to simplify other tests
which did not depend on `g:ft_ignore_pat` but required it explicitly
set to work.
2026-04-18 06:50:28 -04:00
..
2026-04-15 13:31:17 -04:00
2024-04-23 18:17:04 +02:00
2026-04-15 18:45:26 +00:00
2026-02-17 11:34:12 +08:00
2025-05-04 11:22:57 -04:00
2025-05-29 12:10:07 +02:00
2026-03-29 18:50:37 +02:00
2026-04-15 18:45:26 +00:00
2026-01-28 05:44:17 -05:00
2026-04-18 06:50:28 -04:00
2026-03-20 05:08:00 -04:00
2025-01-09 09:26:45 -08:00
2026-01-12 10:58:01 -08:00
2025-04-05 15:56:40 -07:00
2025-03-18 09:39:19 +01:00
2026-02-12 11:55:16 -05:00
2026-02-11 06:54:57 -05:00
2025-08-03 07:45:49 -07:00
2024-11-26 06:15:50 -08:00
2025-09-03 23:03:51 -04:00
2026-03-21 17:07:33 -04:00
2026-04-15 12:09:25 +01:00
2026-03-18 19:19:47 -04:00
2025-05-04 11:22:57 -04:00
2026-04-06 11:51:36 -04:00
2026-04-06 11:51:36 -04:00
2026-02-25 20:55:05 -06:00
2026-04-10 10:08:10 -04:00
2024-04-23 18:17:04 +02:00
2025-08-17 20:40:28 -07:00
2025-07-10 21:50:46 -04:00
2025-09-24 14:25:54 +08:00
2025-07-12 20:54:22 -07:00
2026-03-13 09:36:44 -04:00
2026-03-11 18:00:18 +01:00
2026-01-28 05:44:17 -05:00
2025-05-04 11:22:57 -04:00
2026-04-08 13:33:00 -04:00
2026-04-17 19:10:20 -04:00
2026-03-29 13:36:56 +02:00
2026-04-01 07:59:51 +08:00
2025-09-15 12:10:23 +02:00