Hallo,
maybe useful for others, too: attached is a template for a simple
*.pd_lua class, that saves some typing. I configured my Vim to load
this template everytime I create a new, empty *.pd_lua file.
Some methods for bang, float and anythings are predefined, but
commented out with multiline Lua comments. You can activate them
easily by adding a third dash to the comment's start i.e. change this:
--[[
code
--]]
to this:
---[[
code
--]]
to make "code" active. Also don't forget to change the local variable
"pdclassname" to the name of your pd class which normally has to be
the base filename of your *.pd_lua file. This can be automated in
many editors as well by searching for ADD_CLASSNAME_HERE and replacing
it with the filename on load. Consult your editor's documentation for
that.
Ciao
--
Frank Barknecht _ ______footils.org__