Files
neovim/runtime/doc
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-09-16 11:41:36 +08:00
2025-09-28 20:57:59 -07:00
2025-07-10 21:50:46 -04:00
2025-10-24 02:14:29 +02:00
2024-05-15 23:19:26 +02:00
2025-04-27 15:44:11 -07:00
2025-10-24 17:24:51 -07:00
2025-10-24 02:07:37 +02:00
2023-06-25 17:14:28 +02:00
2025-09-10 21:16:13 -07:00
2025-09-28 20:57:59 -07:00
2025-10-24 02:07:37 +02:00
2025-10-24 02:07:37 +02:00
2025-06-14 17:24:36 +02:00
2025-09-28 20:57:59 -07:00
2025-10-24 02:07:37 +02:00
2025-10-23 20:28:13 +03:00
2025-09-16 11:41:36 +08:00
2025-01-03 08:29:36 -08:00
2024-04-23 08:20:36 +08:00
2024-05-11 18:14:03 +08:00
2023-04-23 15:22:55 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2021-04-29 20:42:16 -04:00
2023-07-25 05:07:13 -07:00
2025-06-18 12:12:23 +02:00
2023-06-19 08:40:33 -07:00