diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-11-25 10:08:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 10:08:15 +0100 |
commit | 29b80f6f2e9391b5d78390f65d09f00f73829310 (patch) | |
tree | f136fb84cd27bf6ccd829f0d277be623af4c48f8 /src | |
parent | 2efcb1a7e9a3d98c2bdacb769d094e4920149755 (diff) | |
download | rneovim-29b80f6f2e9391b5d78390f65d09f00f73829310.tar.gz rneovim-29b80f6f2e9391b5d78390f65d09f00f73829310.tar.bz2 rneovim-29b80f6f2e9391b5d78390f65d09f00f73829310.zip |
vim-patch:9.0.0935: when using dash it may not be recognize as filetype "sh" (#21174)
* vim-patch:9.0.0935: when using dash it may not be recognize as filetype "sh"
Problem: When using dash it may not be recognize as filetype "sh".
Solution: Add checks for "dash". (Eisuke Kawashima,closes vim/vim#11600)
https://github.com/vim/vim/commit/24482fbfd599d2273c48951df7d00d62f3e66c85
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_filetype.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index 1bdda57868..1ebf72ce41 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -706,6 +706,13 @@ let s:script_checks = { \ ['__libc_start_main and something']], \ 'clojure': [['#!/path/clojure']], \ 'scala': [['#!/path/scala']], + \ 'sh': [['#!/path/sh'], + \ ['#!/path/bash'], + \ ['#!/path/bash2'], + \ ['#!/path/dash'], + \ ['#!/path/ksh'], + \ ['#!/path/ksh93']], + \ 'csh': [['#!/path/csh']], \ 'tcsh': [['#!/path/tcsh']], \ 'zsh': [['#!/path/zsh']], \ 'tcl': [['#!/path/tclsh'], |