vim-patch:8.2.5054: no good filetype for conf files similar to dosini (#18851)

Problem:    No good filetype for conf files similar to dosini.
Solution:   Add the confini filetype. (closes vim/vim#10510)
635f48010d
This commit is contained in:
Christian Clason
2022-06-04 09:49:01 +02:00
committed by GitHub
parent ff20d40321
commit e6fa4cca24
3 changed files with 23 additions and 21 deletions

View File

@@ -1230,9 +1230,10 @@ local filename = {
Dockerfile = 'dockerfile',
npmrc = 'dosini',
['/etc/yum.conf'] = 'dosini',
['/etc/pacman.conf'] = 'conf',
['.npmrc'] = 'dosini',
['.editorconfig'] = 'dosini',
['/etc/pacman.conf'] = 'confini',
['mpv.conf'] = 'confini',
dune = 'dune',
jbuild = 'dune',
['dune-workspace'] = 'dune',
@@ -1558,7 +1559,7 @@ local pattern = {
['.*/etc/DIR_COLORS'] = 'dircolors',
['.*/etc/dnsmasq%.conf'] = 'dnsmasq',
['php%.ini%-.*'] = 'dosini',
['.*/etc/pacman%.conf'] = 'conf',
['.*/etc/pacman%.conf'] = 'confini',
['.*/etc/yum%.conf'] = 'dosini',
['.*lvs'] = 'dracula',
['.*lpe'] = 'dracula',