Looking at vim 7.3 filetype.vim:

" 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.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui