official/hello_world : document and reindent

This commit is contained in:
Jérémy Rosen
2014-12-13 11:56:30 +01:00
parent 2bbd71a327
commit 50a09f19ed

View File

@@ -16,6 +16,20 @@
along with darktable. If not, see <http://www.gnu.org/licenses/>.
]]
--[[
HELLO WORLD
prints "hello world when DT starts
USAGE
* require this file from your main lua config file:
]]
local dt = require "darktable"
dt.configuration.check_version(...,{2,0,0})
dt.print("hello, world")
--
-- vim: shiftwidth=2 expandtab tabstop=2 cindent syntax=lua