1
0
forked from aniani/vim

patch 9.1.0295: filetype: pip config files are not recognized

Problem:  filetype: pip config files are not recognized
Solution: detect pip.conf as dosini filetype
          (Wu, Zhenyu)

closes: #14448

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-04-09 22:49:19 +02:00
committed by Christian Brabandt
parent 08b0f632c1
commit d2b95b8446
3 changed files with 5 additions and 3 deletions

View File

@@ -531,9 +531,9 @@ au BufNewFile,BufRead m3makefile,m3overrides setf m3build
" XDG mimeapps.list
au BufNewFile,BufRead mimeapps.list setf dosini
" Many Python tools use dosini as their config, like setuptools, pudb, coverage
" Many Python tools use dosini as their config, like pip, setuptools, pudb, coverage
" (must be before *.cfg)
au BufNewFile,BufRead setup.cfg,pudb.cfg,.coveragerc setf dosini
au BufNewFile,BufRead pip.conf,setup.cfg,pudb.cfg,.coveragerc setf dosini
" LXQt's programs use dosini as their config
au BufNewFile,BufRead */{lxqt,screengrab}/*.conf setf dosini