aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-06-27 06:46:52 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-06-27 07:04:55 +0800
commitdb55c537cb2fbe062ecd7825e0e7fc5fba6b2140 (patch)
tree86561a0721e0ce78205c8721184c335851729705 /runtime/lua/vim
parent26331797d23489e7929002dba7d02b82c2ea8bcf (diff)
downloadrneovim-db55c537cb2fbe062ecd7825e0e7fc5fba6b2140.tar.gz
rneovim-db55c537cb2fbe062ecd7825e0e7fc5fba6b2140.tar.bz2
rneovim-db55c537cb2fbe062ecd7825e0e7fc5fba6b2140.zip
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
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 1 insertions, 1 deletions
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',