I just noticed this today with 7.4b but the behavior is the same
with 7.4a.9. It works correctly with 7.3.882.
The problem is that when I open a temporary file created by mutt
with the name /tmp/muttV1LGjR, the latest versions of vim do not
recognize this as a file name that should set 'filetype' to "mail".
The experiment I performed was to copy that file to my home
directory and execute
vim -N -u NONE --cmd 'syntax on' muttV1LGjR
for the three versions of vim mentioned above.
For version 7.3.882, the file is syntax highlighted and
'filtype' is "mail". For the 7.4 versions, the file is not syntax
highlighted and 'filetype' is emtpy.
This should be detected by both of the following patterns in
$VIMRUNTIME/filetype.vim:
mutt[[:alnum:]_-]\{6\}
mutt[[:alnum:]._-]\{6\}
Both of those patterns successfully match "muttV1LGjR" when it
appears as a string in a file and the pattern is used after a /
command.
That's as far as I've investigated this.
Regards,
Gary
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.