vim-patch:9.1.0322: filetype: some mail tools not recognized

Problem:  filetype: some mail tools not recognized
Solution: Detect '.mbsncrc' as conf, '.msmtprc' as msmtp
          and '.notmuch-config' as ini filetype
          (Shane-XB-Qian)

closes: vim/vim#14533

a7a9a476cf

Co-authored-by: shane.xb.qian <shane.qian@foxmail.com>
This commit is contained in:
zeertzjq
2024-04-16 08:16:15 +08:00
parent b4ddee1116
commit 6717cc5b41
2 changed files with 6 additions and 2 deletions

View File

@@ -1311,6 +1311,7 @@ local filename = {
['.chktexrc'] = 'conf',
['.ripgreprc'] = 'conf',
ripgreprc = 'conf',
['.mbsyncrc'] = 'conf',
['configure.in'] = 'config',
['configure.ac'] = 'config',
crontab = 'crontab',
@@ -1352,6 +1353,7 @@ local filename = {
['.wakatime.cfg'] = 'dosini',
['nfs.conf'] = 'dosini',
['nfsmount.conf'] = 'dosini',
['.notmuch-config'] = 'dosini',
['pacman.conf'] = 'confini',
['paru.conf'] = 'confini',
['mpv.conf'] = 'confini',
@@ -1486,6 +1488,7 @@ local filename = {
['mplayer.conf'] = 'mplayerconf',
mrxvtrc = 'mrxvtrc',
['.mrxvtrc'] = 'mrxvtrc',
['.msmtprc'] = 'msmtp',
['.mysql_history'] = 'mysql',
['/etc/nanorc'] = 'nanorc',
Neomuttrc = 'neomuttrc',