" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <****@***.***>
" Last Change: 2010 Jul 30
This is valid bash:
#!/bin/bash
head -n 3 <<FOOBAR | cat
1
2
3
4
5
FOOBAR
The output is:
1
2
3
The script (with the shebang line) is available at http://hastebin.com/rusoculipo.bash
The syntax highlighting treats the "| cat" part of the command to be a string (as if the heredoc starts from the <<), but it should be considered part of the pipeline.
On Mar 21, 2013 9:43 AM, "Nirk Niggler" <nirk.n...@gmail.com> wrote:
>
> Christian:
>
> Thanks for a quick response. I provided the file header, and the
> maintainer is Bram.
Bram maintains filetype.vim, but not syntax/sh.vim which is where the syntax highlighting for bash is defined. That's maintained by Charles Campbell.