From db55c537cb2fbe062ecd7825e0e7fc5fba6b2140 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 27 Jun 2026 06:46:52 +0800 Subject: vim-patch:9.2.0728: filetype: supertux info pattern is relative to current dir Problem: filetype: supertux info pattern is relative to current directory (after 9.2.0716). Solution: Add `*/` to the start of the pattern (zeertzjq) closes: vim/vim#20629 https://github.com/vim/vim/commit/c30ee2efa905473e54b095b8467af986b033296b --- runtime/lua/vim/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index fbb1ee3237..6c4e5fd43a 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -2835,7 +2835,7 @@ local pattern = { end), ['/queries/.*%.scm$'] = 'query', -- treesitter queries (Neovim only) [',v$'] = 'rcs', - ['^supertux2/.*/info$'] = 'scheme', + ['/supertux2/.*/info$'] = 'scheme', ['^svn%-commit.*%.tmp$'] = 'svn', ['%.swift%.gyb$'] = 'swiftgyb', ['^vivado.*%.jou$'] = 'tcl', -- cgit