]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1787: filetype: not all Sway config files are recognized v9.1.1787
authorFelix Pehla <29adc1fd92@gmail.com>
Tue, 23 Sep 2025 20:25:11 +0000 (20:25 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 23 Sep 2025 20:25:11 +0000 (20:25 +0000)
commit24f0dbba8c19be6969f392f891067ded4233bde7
tree9ef995e6b811b7917f9cf4e6f67189959ccf5588
parente89efc22be5f2fa04f3e072f62303845fbc7b1b3
patch 9.1.1787: filetype: not all Sway config files are recognized

Problem:  filetype: not all Sway config files are recognized
Solution: Detect files within */sway/config.d/* as swayconfig filetype
          (Felix Pehla).

Sways default config automatically includes files placed in
@sysconfdir@/sway/config.d/* (see config.in), so it makes sense to use
the sway syntax for those.

related: #18293

Signed-off-by: Felix Pehla <29adc1fd92@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c