aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-12 17:17:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-04-12 17:19:10 +0800
commit7334e9055b279023014d0955f2f80a9a3f8a723b (patch)
treebae3efab9e0a2b82e9874e7de44a6919b0aea010 /runtime
parent60ced890f38c8f717c9dae92a9bf2819f6b00ef8 (diff)
downloadrneovim-7334e9055b279023014d0955f2f80a9a3f8a723b.tar.gz
rneovim-7334e9055b279023014d0955f2f80a9a3f8a723b.tar.bz2
rneovim-7334e9055b279023014d0955f2f80a9a3f8a723b.zip
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: vim/vim#14448 https://github.com/vim/vim/commit/d2b95b8446233e0021a8c0cd672f8fae748e3955 Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 6dec2e6d16..873e797e33 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1327,6 +1327,7 @@ local filename = {
npmrc = 'dosini',
['/etc/yum.conf'] = 'dosini',
['.npmrc'] = 'dosini',
+ ['pip.conf'] = 'dosini',
['setup.cfg'] = 'dosini',
['pudb.cfg'] = 'dosini',
['.coveragerc'] = 'dosini',