Skip to content

Incorrect indentation. #213

Description

@amano-kenji

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions