Hi,

When converting test29 into a new style test, I came across several
instances where multiple lines of text need to be stored in a variable.
I used the following method to do it:

  new
  insert
some text
some text
some text
.

  let text = getline(1, '$')

You can also use a list literal to store the lines. But it is not readable.

It will be useful to support a HERE document syntax for assigning multiple
lines of text to a variable. Something along the lines of (similar to the shell
here document syntax):

 let text <<HERE
some text
some text
HERE

Regards,
Yegappan

-- 
-- 
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/CAAW7x7nJRkAHWZdAQewfCVcenevujXhWagRbyEL2rrkM1ttRLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui