summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorWu, Zhenyu <wuzhenyu@ustc.edu>2024-03-31 19:12:36 +0200
committerChristian Brabandt <cb@256bit.org>2024-03-31 19:12:36 +0200
commit665220a17b830a271f0c7ef07211d25cd1c7b389 (patch)
tree1e9ed3923e917dfa25c3837a1a28a2a276cdfd1d /runtime/filetype.vim
parent8e47eb31cc8b29a223f1706730b8f4a5598d59ce (diff)
patch 9.1.0240: filetype: some python tools config files are not recognizedv9.1.0240
Problem: filetype: some python tools config files are not recognized Solution: Detect config files for setuptools, pudb, coverage as dosini (Wu, Zhenyu) closes: #14361 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 01c91bf22d..5af8ff6e84 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1039,6 +1039,9 @@ au BufNewFile,BufRead *.4gl,*.4gh,*.m4gl setf fgl
" .INI file for MSDOS
au BufNewFile,BufRead *.ini,*.INI setf dosini
+" Many python tools use dosini as their config, such as setuptools, pudb, coverage
+au BufNewFile,BufRead setup.cfg,pudb.cfg,.coveragerc setf dosini
+
" SysV Inittab
au BufNewFile,BufRead inittab setf inittab