diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-04-08 12:30:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-08 12:30:35 -0400 |
| commit | 20a3254ad42dfb08faad275c1c79764de8e24c69 (patch) | |
| tree | 88dc75805b0abfc7bdb09efc1ef8ee95b5a5ee3b /scripts/lintcommit.lua | |
| parent | b35a2e58e96664b4939cdd9d0e07a5650b10e423 (diff) | |
| download | rneovim-20a3254ad42dfb08faad275c1c79764de8e24c69.tar.gz rneovim-20a3254ad42dfb08faad275c1c79764de8e24c69.tar.bz2 rneovim-20a3254ad42dfb08faad275c1c79764de8e24c69.zip | |
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()`.
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions