]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(filetype): Use s:StarSetf for all patterns ending in *
authorDoug Kearns <dougkearns@gmail.com>
Tue, 10 Jun 2025 19:15:22 +0000 (21:15 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 10 Jun 2025 19:15:22 +0000 (21:15 +0200)
commit6701480c43ce3addff01447b9590260a4fe227f7
treec2162c1dc84ad6939740ade08a11bf5264cd96c5
parentbfa16364f104f336fc7407ee4533ae9045f040c4
runtime(filetype): Use s:StarSetf for all patterns ending in *

Problem:  Some filetype autocmds with patterns ending in * do not skip
          filenames matching g:ignored_patterns.
Solution: Move these autocmds to the appropriate section and call
          s:StarSetf() to set the filetype.

- Affected filetypes: dosini, execline, foam, messages, nginx, tmux.
- Convert foam filetype patterns to use wildcard matching.

closes: #17422

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim