vim-patch:9.2.0821: filetype: msmtp system-wide rc file not detected (#40895)

Problem:  filetype: msmtp system-wide rc file not detected (chdiza).
Solution: Detect 'msmtprc' as filetype msmtp, like '.msmtprc'
          (Doug Kearns).

fixes:  vim/vim#20751
closes: vim/vim#20752

https://github.com/vim/vim/commit/88440f9a3460bf54e4017340e764788dcf6cb3d7

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjqandDoug Kearns authored and GitHub committed 2026-07-21 23:16:33 +00:00
1 parent 9180c6e093
commit a277c08d98
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1856,6 +1856,7 @@ local filename = {
['mplayer.conf'] = 'mplayerconf',
mrxvtrc = 'mrxvtrc',
['.mrxvtrc'] = 'mrxvtrc',
msmtprc = 'msmtp',
['.msmtprc'] = 'msmtp',
['Muttngrc'] = 'muttrc',
['Muttrc'] = 'muttrc',