mirror of
https://github.com/neovim/neovim.git
synced 2026-04-24 16:25:40 +00:00
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
836b87d699
Co-authored-by: Pierrick Guillaume <pguillaume@fymyte.com>
This commit is contained in:
committed by
Christian Clason
parent
2d6120240d
commit
287955cfb4
@@ -181,7 +181,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'cobol': ['file.cbl', 'file.cob'],
|
||||
\ 'coco': ['file.atg'],
|
||||
\ 'conaryrecipe': ['file.recipe'],
|
||||
\ 'conf': ['auto.master', 'file.conf', 'texdoc.cnf', '.x11vncrc', '.chktexrc', '.ripgreprc', 'ripgreprc', 'file.ctags', '.mbsyncrc'],
|
||||
\ 'conf': ['auto.master', 'file.conf', 'texdoc.cnf', '.x11vncrc', '.chktexrc', '.ripgreprc', 'ripgreprc', 'file.ctags'],
|
||||
\ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file', 'any/etc/hostname.file'],
|
||||
\ 'confini': ['pacman.conf', 'paru.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'],
|
||||
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
|
||||
@@ -469,6 +469,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'matlab': ['file.m'],
|
||||
\ 'maxima': ['file.demo', 'file.dmt', 'file.dm1', 'file.dm2', 'file.dm3',
|
||||
\ 'file.wxm', 'maxima-init.mac'],
|
||||
\ 'mbsync': ['.mbsyncrc', 'file.mbsyncrc', 'isyncrc'],
|
||||
\ 'mediawiki': ['file.mw', 'file.wiki'],
|
||||
\ 'mel': ['file.mel'],
|
||||
\ 'mermaid': ['file.mmd', 'file.mmdc', 'file.mermaid'],
|
||||
|
||||
Reference in New Issue
Block a user