mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:9.1.0744: filetype: notmuch configs are not recognised (#30535)
Problem: filetype: notmuch configs are not recognised
Solution: Detect more notmuch profile configuration files
as dosini filetype (Julio B)
Reference:
https://notmuchmail.org/doc/latest/man1/notmuch-config.html#configuration
closes: vim/vim#15744
1a2870b57a
Co-authored-by: Julio B <julio.bacel@gmail.com>
This commit is contained in:
@@ -2109,6 +2109,8 @@ local pattern = {
|
||||
['/bpython/config$'] = 'dosini',
|
||||
['/flatpak/repo/config$'] = 'dosini',
|
||||
['/mypy/config$'] = 'dosini',
|
||||
['^${HOME}/%.config/notmuch/.*/config$'] = 'dosini',
|
||||
['^${XDG_CONFIG_HOME}/notmuch/.*/config$'] = 'dosini',
|
||||
['^${XDG_CONFIG_HOME}/git/config$'] = 'gitconfig',
|
||||
['%.git/config%.worktree$'] = 'gitconfig',
|
||||
['%.git/config$'] = 'gitconfig',
|
||||
@@ -2259,6 +2261,7 @@ local pattern = {
|
||||
['^%.'] = {
|
||||
['^%.cshrc'] = detect.csh,
|
||||
['^%.login'] = detect.csh,
|
||||
['^%.notmuch%-config%.'] = 'dosini',
|
||||
['^%.gitsendemail%.msg%.......$'] = 'gitsendemail',
|
||||
['^%.kshrc'] = detect.ksh,
|
||||
['^%.article%.%d+$'] = 'mail',
|
||||
|
||||
Reference in New Issue
Block a user