mirror of
https://github.com/neovim/neovim.git
synced 2026-02-20 10:28:33 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user