neovim lua mode prefers
node_om:connect("object-added", function (node_om, node)
-- If the node is added, print update.
print("update")
node:connect("params-changed", function (node, paramId)
-- If the node's parameters changed, print update.
print("update")
end)
end)
emacs lua mode gives me
node_om:connect("object-added", function (node_om, node)
-- If the node is added, print update.
print("update")
node:connect("params-changed", function (node, paramId)
-- If the node's parameters changed, print update.
print("update")
end)
end)
although lua indent level is 2. It is giving me the indent level of 4.