vim-patch:9.1.0596: filetype: devscripts config files are not recognized (#29773)

Problem:  filetype: Debian devscripts config files are not recognized
Solution: detect devscripts.conf and .devscripts files as sh filetype
          (sourced by /bin/sh)

closes: vim/vim#15227

76c19028ff

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-07-18 09:13:16 +02:00
committed by GitHub
parent f69cfc6712
commit c69ea53c9d
2 changed files with 4 additions and 1 deletions

View File

@@ -1626,6 +1626,8 @@ local filename = {
['/etc/serial.conf'] = 'setserial',
['/etc/udev/cdsymlinks.conf'] = 'sh',
['.ash_history'] = 'sh',
['.devscripts'] = 'sh',
['devscripts.conf'] = 'sh',
['makepkg.conf'] = 'sh',
['.makepkg.conf'] = 'sh',
['user-dirs.dirs'] = 'sh',