vim-patch:9.1.0244: filetype: bash history files are not recognized

Problem:  filetype: bash history files are not recognized
Solution: detect .bash-history and .bash_history files as bash
          (Wu, Zhenyu)

closes: vim/vim#14365

84ce55001a

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2024-03-31 19:25:07 +02:00
parent 1a0b27965c
commit 239101e32a
2 changed files with 2 additions and 1 deletions

View File

@@ -1953,6 +1953,7 @@ local pattern = {
['.*/etc/serial%.conf'] = 'setserial',
['.*/etc/udev/cdsymlinks%.conf'] = 'sh',
['%.bash[_%-]aliases'] = detect.bash,
['%.bash[_%-]history'] = detect.bash,
['%.bash[_%-]logout'] = detect.bash,
['%.bash[_%-]profile'] = detect.bash,
['%.kshrc.*'] = detect.ksh,