aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintcommit.lua
diff options
context:
space:
mode:
authorBarrett Ruth <62671086+barrettruth@users.noreply.github.com>2026-04-08 12:30:35 -0400
committerGitHub <noreply@github.com>2026-04-08 12:30:35 -0400
commit20a3254ad42dfb08faad275c1c79764de8e24c69 (patch)
tree88dc75805b0abfc7bdb09efc1ef8ee95b5a5ee3b /scripts/lintcommit.lua
parentb35a2e58e96664b4939cdd9d0e07a5650b10e423 (diff)
downloadrneovim-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