diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2026-04-06 18:48:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-06 12:48:42 -0400 |
| commit | bdc72a0843053419a2abfc487708d5d905371bee (patch) | |
| tree | 4320e17bb242b0af7b212136eff828afcbd30c5d /test/functional/vimscript/executable_spec.lua | |
| parent | 889572a358cbc93c744c2006b070e49219ebf94e (diff) | |
| download | rneovim-bdc72a0843053419a2abfc487708d5d905371bee.tar.gz rneovim-bdc72a0843053419a2abfc487708d5d905371bee.tar.bz2 rneovim-bdc72a0843053419a2abfc487708d5d905371bee.zip | |
feat(filetype): `vim.filetype.inspect()` returns copy of registry #38831
Problem: No way of inspecting the (user-added) filetype detection rules.
Solution: Add `vim.filetype.inspect()` returning copies of the internal
`extension`, `filename`, `pattern` tables. Due to the dynamic nature of
filetype detection, this will in general not allow getting the list of
known filetypes, but at least one can see if a given extension is known.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions