diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-04-13 18:42:39 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-04-14 09:47:56 +0200 |
| commit | 287955cfb401df4e43bd22c10fa29ff234ffdef6 (patch) | |
| tree | 68b4caa94fdbadc69c0fdafebe82371210f8756b /runtime/ftplugin | |
| parent | 2d6120240de5d13cc59eff7b2fe362644d36851e (diff) | |
| download | rneovim-287955cfb401df4e43bd22c10fa29ff234ffdef6.tar.gz rneovim-287955cfb401df4e43bd22c10fa29ff234ffdef6.tar.bz2 rneovim-287955cfb401df4e43bd22c10fa29ff234ffdef6.zip | |
vim-patch:9.1.1299: filetype: mbsyncrc files are not recognized
Problem: filetype: mbsyncrc files are not recognized
Solution: detect isyncrc and "*.mbsyncrc" files as mbsync filetype,
include filetype and syntax plugin (Pierrick Guillaume)
mbsync is a command line application which synchronizes mailboxes;
currently Maildir and IMAP4 mailboxes are supported.
New messages, message deletions and flag changes can be propagated both ways;
the operation set can be selected in a fine-grained manner.
References:
mbsync syntax overview: mbsync manual (isync v1.4.4)
https://isync.sourceforge.io/mbsync.html
Upstream support for the mbsync filetype.
Original plugin: https://github.com/Fymyte/mbsync.vim
closes: vim/vim#17103
https://github.com/vim/vim/commit/836b87d6998a1f18783afdc41c90ae1f38c9c3e9
Co-authored-by: Pierrick Guillaume <pguillaume@fymyte.com>
Diffstat (limited to 'runtime/ftplugin')
| -rw-r--r-- | runtime/ftplugin/mbsync.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/mbsync.vim b/runtime/ftplugin/mbsync.vim new file mode 100644 index 0000000000..f2d13effb4 --- /dev/null +++ b/runtime/ftplugin/mbsync.vim @@ -0,0 +1,13 @@ +" Vim filetype plugin file +" Language: mbsync configuration file +" Maintainer: Pierrick Guillaume <pguillaume@fymyte.com> +" Last Change: 2025 Apr 13 + +if (exists('b:did_ftplugin')) + finish +endif +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setlocal commentstring<" + +setlocal commentstring=#\ %s |