diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-01-15 14:47:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 14:47:25 +0100 |
commit | c09147aad99a88dc39c47c276b431ade4c83ac9d (patch) | |
tree | 6a44248ff4ee0d1e5b7951b52a8e04c023e4b9a7 /src | |
parent | 574a5822023939d534d922eaa345bb7e0633d2b8 (diff) | |
download | rneovim-c09147aad99a88dc39c47c276b431ade4c83ac9d.tar.gz rneovim-c09147aad99a88dc39c47c276b431ade4c83ac9d.tar.bz2 rneovim-c09147aad99a88dc39c47c276b431ade4c83ac9d.zip |
vim-patch:8.2.4095: sed script not recognized by the first line (#17101)
Problem: Sed script not recognized by the first line.
Solution: Recognize a sed script starting with "#n". (Doug Kearns)
https://github.com/vim/vim/commit/e3ce17a3ca838954728df21ccb6c2a724490203d
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index f55b9cc1d2..7db05e34d5 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -653,7 +653,7 @@ let s:script_checks = { \ ['#!/path/nodejs'], \ ['#!/path/rhino']], \ 'bc': [['#!/path/bc']], - \ 'sed': [['#!/path/sed']], + \ 'sed': [['#!/path/sed'], ['#n'], ['#n comment']], \ 'ocaml': [['#!/path/ocaml']], \ 'awk': [['#!/path/awk'], \ ['#!/path/gawk']], |