Problem: filetype: msmtp system-wide rc file not detected (chdiza).
Solution: Detect 'msmtprc' as filetype msmtp, like '.msmtprc'
(Doug Kearns).
fixes: #20751
closes: #20752
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
# Vim functions for file type detection
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2026 Jul 18
+# Last Change: 2026 Jul 21
# Former Maintainer: Bram Moolenaar <Bram@vim.org>
# These functions are moved here from runtime/filetype.vim to make startup
"meson.options": "meson",
"meson_options.txt": "meson",
# msmtp
+ "msmtprc": "msmtp",
".msmtprc": "msmtp",
# Mrxvtrc
"mrxvtrc": "mrxvtrc",
mplayerconf: ['mplayer.conf', '/.mplayer/config', 'any/.mplayer/config'],
mrxvtrc: ['mrxvtrc', '.mrxvtrc'],
msidl: ['file.odl', 'file.mof'],
- msmtp: ['.msmtprc'],
+ msmtp: ['msmtprc', '.msmtprc'],
msql: ['file.msql'],
mss: ['file.mss'],
mupad: ['file.mu'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 821,
/**/
820,
/**/