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:
parent
f3e888dadc
commit
527a85bf11
8 changed files with 25 additions and 9 deletions
6
home/vim/ftdetect/automake.lua
Normal file
6
home/vim/ftdetect/automake.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Use Automake filetype for `local.am` files, explicit `set` to force override
|
||||
vim.filetype.add({
|
||||
filename = {
|
||||
["local.am"] = "automake",
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue