Hi,

On Sun, May 19, 2019 at 10:04 AM ichizok <[email protected]> wrote:
>
> There are some patterns cannot work: e.g. a line starts with endfunc append 
> python...
>

The Vim script parser is interpreting the "endfunc" text within a here document
as a statement instead of treating simply as a text string. I don't
have a fix for this
currently.

- Yegappan

>
> func Foo()
>   let x =<<
> endfunc
> ..
> endfunc
>
> E193: :endfunction not inside a function
>
> func Foo()
>   let x =<<END
> a
> END
> endfunc
>
> E126: Missing :endfunction
>
> func Foo()
>   let x =<<END
> python <<EOS
> END
> endfunc
>
> E126: Missing :endfunction
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7msrVFHhfYqy1GRP%3D-XS-az7r2EH%2BFV8KGox5O8e3D2xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui