Hi, list,
I'm writing a vim script, in which I want to support buffer defined
vars in two patterns, say, user can put the following lines into a
file:
a = [[1:"foo"],[2:"bar"]]
or:
a = [
\[1:"foo"],
\[2:"bar"],
\]
then after the file is loaded into vim, my script will try to get
these relative lines and parse it then assign it into b:a. The problem
is: I don't know how to get the var in the file and parse it.
Sorry for my poor English, don't know if I've describe clearly?
Any advice is appreciated.
--
Regards,
Yue Wu
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
--
You received this message from the "vim_use" 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