home: vim: ftdetect: switch to lua

It looks like `vim.filetype.add` is smarter about "local.am".

For some reason opening an *empty* Tiger file results in a backtrace...
This commit is contained in:
Bruno BELANYI 2023-05-07 21:17:17 +01:00
parent f3e888dadc
commit 527a85bf11
8 changed files with 25 additions and 9 deletions

View file

@ -0,0 +1,6 @@
-- Use bash filetype for `.envrc` files
vim.filetype.add({
filename = {
[".envrc"] = "bash",
},
})