Files
neovim/runtime/lua/vim
Barrett Ruth 20a3254ad4 fix(health): misleading warnings re filetypes registered w/ vim.filetype.add() #38867
Problem:
`:checkhealth vim.lsp` validates configured filetypes against
`getcompletion('', 'filetype')`. This only reflects runtime support
files.

This causes false warnings in `:checkhealth vim.lsp` for configured
filetypes that are known to the Lua filetype registry, including
values added with `vim.filetype.add()` and built-in registry-only
filetypes.

Solution:
Build the healthcheck's known-filetype set from both
`getcompletion('', 'filetype')` and `vim.filetype.inspect()`.
2026-04-08 12:30:35 -04:00
..
2026-03-11 18:24:57 +01:00
2025-06-06 15:36:48 +01:00
2026-03-28 09:59:54 -04:00
2026-01-09 10:07:15 +01:00
2026-03-11 18:00:18 +01:00
2026-04-01 16:46:59 -04:00
2026-04-08 11:38:27 -04:00
2026-04-08 11:38:27 -04:00
2026-03-11 18:00:18 +01:00
2025-09-16 11:41:36 +08:00
2026-04-01 17:04:41 -04:00