Hi All, its there any way to make language-puppet understand classes like class:subbclass1::subclass2 and goto defintion to work? for vim-cgats i found something like this on the interent --langdef=puppet --langmap=puppet:.pp --regex-puppet=/^class[ \t ]_([:a-zA-Z0-9_-]+)[ \t ]_/\1/c,class/ --regex-puppet=/^site[ \t ]_([a-zA-Z0-9_-]+)[ \t ]_/\1/s,site/ --regex-puppet=/^node[ \t ]_([a-zA-Z0-9_-]+)[ \t ]_/\1/n,node/ --regex-puppet=/^define[ \t ]_([:a-zA-Z0-9_-]+)[ \t ]_/\1/d,definition/ --regex-puppet=/^ _([a-zA-Zi:_]+) *{ *(._) *:/\1[\2]/r,resource/ --regex-puppet=/^ *([A-Z][a-zA-Z0-9_:]+) *{/\1/f,default/
Hi All,
its there any way to make language-puppet understand classes like
class:subbclass1::subclass2 and goto defintion to work?
for vim-cgats i found something like this on the interent
--langdef=puppet
--langmap=puppet:.pp
--regex-puppet=/^class[ \t ]([:a-zA-Z0-9-]+)[ \t ]/\1/c,class/
--regex-puppet=/^site[ \t ]([a-zA-Z0-9_-]+)[ \t ]/\1/s,site/
--regex-puppet=/^node[ \t ]([a-zA-Z0-9_-]+)[ \t ]/\1/n,node/
--regex-puppet=/^define[ \t ]([:a-zA-Z0-9_-]+)[ \t ]/\1/d,definition/
--regex-puppet=/^ ([a-zA-Zi:]+) *{ *(.) *:/\1[\2]/r,resource/
--regex-puppet=/^ *([A-Z][a-zA-Z0-9_:]+) *{/\1/f,default/