diff options
author | Gregory Anders <greg@gpanders.com> | 2022-01-11 13:50:47 -0700 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2022-01-13 15:32:20 -0700 |
commit | 6e04c8653cf3a5d8d4e9d81645fb65834877349c (patch) | |
tree | 6140b1e2cb54f5baf4d7abd9bdd819beb7cbfdd0 | |
parent | c38d602b888a95a4b3b7a3b4241ce5b3e434eb35 (diff) | |
download | rneovim-6e04c8653cf3a5d8d4e9d81645fb65834877349c.tar.gz rneovim-6e04c8653cf3a5d8d4e9d81645fb65834877349c.tar.bz2 rneovim-6e04c8653cf3a5d8d4e9d81645fb65834877349c.zip |
fix(filetype): fix foam pattern detection
-rw-r--r-- | runtime/lua/vim/filetype.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 3423be40f9..13da5286c8 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -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, |