mirror of
https://github.com/neovim/neovim.git
synced 2026-06-16 00:31:16 +00:00
Problem: Running `vim.filetype.match()` when current working directory was removed from disk throws a `vim.fs.abspath` assertion error. However, the matching might still be possible without trying to match against full path (like if it is a known extension). Solution: Safely compute absolute path and ignore it if it errors.