Jonny Kong
e2cb675705
fix(filetype): move fallback logic to vim.filetype.match() #30141
...
Problem:
Previously, the fallback logic to ".conf" was located outside of
`vim.filetype.match()` and directly within the AutoCmd definition. As a
result, `vim.filetype.match()` would return nil instead of ".conf" for
fallback cases (#30100 ).
Solution:
Added a boolean return value to `vim.filetype.match()` that indicates
whether the match was the result of fallback. If true, the filetype will
be set using `setf FALLBACK <ft>` instead of `setf <ft>`.
2025-10-28 18:45:50 -07:00
..
2025-10-12 18:25:14 +00:00
2025-10-27 10:19:16 -07:00
2025-05-06 05:15:31 -07:00
2025-10-29 08:05:28 +08:00
2024-06-04 06:06:02 -07:00
2025-09-05 17:22:24 +08:00
2025-01-05 12:28:01 +01:00
2025-10-28 07:52:22 -07:00
2025-10-27 10:03:45 -07:00
2025-08-17 20:40:28 -07:00
2025-10-05 19:20:06 +03:00
2025-09-21 14:25:14 -07:00
2025-10-24 02:07:37 +02:00
2025-08-22 15:05:43 -05:00
2025-08-02 15:00:41 +03:00
2024-11-17 13:31:24 -08:00
2025-08-28 11:34:01 +02:00
2025-10-25 06:48:04 +08:00
2025-09-16 06:06:02 +08:00
2025-07-11 17:31:30 +02:00
2025-07-10 13:34:58 +01:00
2025-08-23 12:01:38 -07:00
2025-08-17 11:54:53 +08:00
2025-02-23 07:51:12 -08:00
2025-03-31 16:51:18 +01:00
2025-10-12 12:16:14 +08:00
2025-09-15 11:15:25 +08:00
2025-10-01 20:17:55 -07:00
2025-06-06 15:36:48 +01:00
2025-10-28 18:45:50 -07:00
2025-08-28 11:34:01 +02:00
2025-05-10 14:42:48 -07:00
2025-06-03 06:36:44 -07:00
2025-07-08 05:21:09 -07:00
2025-08-28 11:34:01 +02:00
2025-01-27 16:37:50 +00:00
2025-07-22 17:40:24 -07:00
2025-07-10 21:50:46 -04:00
2025-08-28 11:34:01 +02:00
2025-10-24 02:07:37 +02:00
2025-09-16 11:41:36 +08:00
2025-10-23 20:28:13 +03:00
2025-08-24 22:17:34 -04:00
2024-02-03 16:53:41 +01:00
2025-09-16 11:41:36 +08:00
2025-02-10 03:04:01 -08:00
2025-07-28 22:00:25 -04:00
2025-10-24 02:07:37 +02:00
2025-09-16 11:41:36 +08:00
2025-08-22 15:05:43 -05:00
2025-07-12 20:54:22 -07:00
2025-06-14 17:24:36 +02:00
2025-06-18 03:20:18 -07:00
2025-01-27 16:37:50 +00:00
2025-07-23 20:03:30 -07:00