mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3458: not all dictdconf files are recognized
Problem: Not all dictdconf files are recognized.
Solution: Adjust the pattern. (Doug Kearns)
be01090efa
This commit is contained in:
parent
c1c5676021
commit
47ad1a3584
@ -484,7 +484,7 @@ au BufNewFile,BufRead *.desktop,*.directory setf desktop
|
||||
au BufNewFile,BufRead dict.conf,.dictrc setf dictconf
|
||||
|
||||
" Dictd config
|
||||
au BufNewFile,BufRead dictd.conf setf dictdconf
|
||||
au BufNewFile,BufRead dictd*.conf setf dictdconf
|
||||
|
||||
" Diff files
|
||||
au BufNewFile,BufRead *.diff,*.rej setf diff
|
||||
|
@ -142,7 +142,7 @@ let s:filename_checks = {
|
||||
\ 'desc': ['file.desc'],
|
||||
\ 'desktop': ['file.desktop', '.directory', 'file.directory'],
|
||||
\ 'dictconf': ['dict.conf', '.dictrc'],
|
||||
\ 'dictdconf': ['dictd.conf'],
|
||||
\ 'dictdconf': ['dictd.conf', 'dictdfile.conf', 'dictd-file.conf'],
|
||||
\ 'diff': ['file.diff', 'file.rej'],
|
||||
\ 'dircolors': ['.dir_colors', '.dircolors', '/etc/DIR_COLORS', 'any/etc/DIR_COLORS'],
|
||||
\ 'dnsmasq': ['/etc/dnsmasq.conf', '/etc/dnsmasq.d/file', 'any/etc/dnsmasq.conf', 'any/etc/dnsmasq.d/file'],
|
||||
|
Loading…
Reference in New Issue
Block a user