From c9a05edf47600305516967c58c999802e3bafe15 Mon Sep 17 00:00:00 2001 From: Cort Fritz Date: Sun, 1 Dec 2024 09:54:33 -0800 Subject: [PATCH] format changes to nif --- lib/nif.ex | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/nif.ex b/lib/nif.ex index 69370a1..cc821e9 100644 --- a/lib/nif.ex +++ b/lib/nif.ex @@ -163,13 +163,19 @@ defmodule Yex.Nif do def undo_manager_expand_scope(_undo_manager, _scope), do: :erlang.nif_error(:nif_not_loaded) def undo_manager_exclude_origin(_undo_manager, _origin), do: :erlang.nif_error(:nif_not_loaded) def undo_manager_stop_capturing(_undo_manager), do: :erlang.nif_error(:nif_not_loaded) - def undo_manager_add_observer(_undo_manager, _observer_module, _observer_pid), do: :erlang.nif_error(:nif_not_loaded) - def undo_manager_update_stack_item(_undo_manager, _stack_item), do: :erlang.nif_error(:nif_not_loaded) + + def undo_manager_add_observer(_undo_manager, _observer_module, _observer_pid), + do: :erlang.nif_error(:nif_not_loaded) + + def undo_manager_update_stack_item(_undo_manager, _stack_item), + do: :erlang.nif_error(:nif_not_loaded) + def undo_manager_get_meta(_undo_manager), do: :erlang.nif_error(:nif_not_loaded) def undo_manager_set_meta(_undo_manager, _meta), do: :erlang.nif_error(:nif_not_loaded) def undo_manager_clear(_undo_manager), do: :erlang.nif_error(:nif_not_loaded) - def undo_manager_new_with_options(_doc, _scope, _options), do: :erlang.nif_error(:nif_not_loaded) + def undo_manager_new_with_options(_doc, _scope, _options), + do: :erlang.nif_error(:nif_not_loaded) end defmodule Yex.Nif.Util do