diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-09 22:49:19 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-09 22:49:19 +0200 |
commit | d2b95b8446233e0021a8c0cd672f8fae748e3955 (patch) | |
tree | ff5c79d0bf0279db9ef2db3d121b6f846d8eac78 /runtime | |
parent | 08b0f632c125514fe0ea188c36ac048d7d7929d4 (diff) |
patch 9.1.0295: filetype: pip config files are not recognizedv9.1.0295
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>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 6e93616281..14f633a2ac 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 |