Files
neovim/runtime/lua/vim
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-08-17 11:54:53 +08:00
2025-10-12 12:16:14 +08:00
2025-06-06 15:36:48 +01:00
2025-07-10 21:50:46 -04: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-09-16 11:41:36 +08:00
2025-10-24 02:07:37 +02:00
2025-09-16 11:41:36 +08:00
2025-06-14 17:24:36 +02:00