mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 04:25:03 +00:00
vim-patch:9.0.0195: metafun files are not recogized (#19746)
Problem: Metafun files are not recogized.
Solution: Add filetype detection patterns.
9032b9ceb6
This commit is contained in:
@@ -668,6 +668,21 @@ local extension = {
|
||||
moo = 'moo',
|
||||
moon = 'moonscript',
|
||||
mp = 'mp',
|
||||
mpiv = function(path, bufnr)
|
||||
return 'mp', function(b)
|
||||
vim.b[b].mp_metafun = 1
|
||||
end
|
||||
end,
|
||||
mpvi = function(path, bufnr)
|
||||
return 'mp', function(b)
|
||||
vim.b[b].mp_metafun = 1
|
||||
end
|
||||
end,
|
||||
mpxl = function(path, bufnr)
|
||||
return 'mp', function(b)
|
||||
vim.b[b].mp_metafun = 1
|
||||
end
|
||||
end,
|
||||
mof = 'msidl',
|
||||
odl = 'msidl',
|
||||
msql = 'msql',
|
||||
|
||||
Reference in New Issue
Block a user