I'm trying to make my own syntax highlighting for vim. I was following the instructions in here (first answer) but I need to set a group for import and pack, and another group for func, lib, group. How can I do this?
Example of how my code should look like:
import testlib
pack builtin
func myfunc:param#type {
testlib testcommand(param)
}
lib mylib {
func mylibfunc:param#type {
print(param)
}
func mylibfunc2:empty {
age = ask("How old are you?\n")
print("You are "+str(age)+" years old.")
}
}
group mygroup {
1: myfunc
2: mylib
}
I'm using vim on osx Yosemite.