diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-12 17:17:54 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-04-12 17:19:10 +0800 |
commit | 7334e9055b279023014d0955f2f80a9a3f8a723b (patch) | |
tree | bae3efab9e0a2b82e9874e7de44a6919b0aea010 /runtime/lua | |
parent | 60ced890f38c8f717c9dae92a9bf2819f6b00ef8 (diff) | |
download | rneovim-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/lua')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
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', |