mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
fix(filetype): fix foam pattern detection
This commit is contained in:
@@ -1356,10 +1356,10 @@ local pattern = {
|
||||
["zlog.*"] = starsetf('zsh'),
|
||||
["zsh.*"] = starsetf('zsh'),
|
||||
["ae%d+%.txt"] = 'mail',
|
||||
["[a-zA-Z0-9]*Dict"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z0-9]*Dict%..*"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z]*Properties"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z]*Properties%..*"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z0-9].*Dict"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z0-9].*Dict%..*"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z].*Properties"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
["[a-zA-Z].*Properties%..*"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
[".*Transport%..*"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
[".*/constant/g"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
[".*/0/.*"] = function() vim.fn["dist#ft#FTfoam"]() end,
|
||||
|
||||
Reference in New Issue
Block a user