Files
neovim/test/functional/lua
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
..
2024-04-23 18:17:04 +02:00
2025-08-24 23:43:48 +00:00
2025-01-09 09:26:45 -08:00
2025-09-03 23:03:51 -04:00
2024-04-23 18:17:04 +02:00