I am kind of new to vim, and I'm starting trying it for javascript(dojo)
editing using the new javascript syntax from Zhao Yi. Everything looks
nice except I need to fold the json block using syntax method given the
json block in the .js
Dojo.declare("someclass",null, {
......
jsonObject1 : {
property1: value,
property2: value2,
..... some other properties ......
Propertyn: valuen
},
jsonObject2 : [
{ property1: value},
{property2: value2},
..... some other json object ......
{Propertyn: valuen}
],
.......
})
I want to be able to fold the above jsonObject definition blocks using
syntax. Wonder anyone has a solution. Thanks in advance.
gong
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment