Skip to content

Commit 436ebaf

Browse files
committed
dune fmt
1 parent 224de5b commit 436ebaf

6 files changed

Lines changed: 14 additions & 16 deletions

File tree

src/engine/previewer/dune

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
(library
22
(name previewer)
33
(public_name slipshow.previewer)
4-
(libraries communication brr slipshow js_of_ocaml-lwt lwt ansi actions_arguments common_types))
4+
(libraries
5+
communication
6+
brr
7+
slipshow
8+
js_of_ocaml-lwt
9+
lwt
10+
ansi
11+
actions_arguments
12+
common_types))

src/engine/previewer/previewer.mli

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ val create_previewer :
1414
?callback:(int -> unit) ->
1515
?save_drawing:(path:string -> content:string -> unit) ->
1616
save_coordinate:
17-
(id:Common_types.gui_id ->
18-
coord:Actions_arguments.Gui.t ->
19-
unit) ->
17+
(id:Common_types.gui_id -> coord:Actions_arguments.Gui.t -> unit) ->
2018
goto_loc:(Common_types.gui_id -> unit) ->
2119
include_speaker_view:bool ->
2220
errors_el:Brr.El.t ->

src/engine/runtime/messaging/messaging.mli

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ val open_speaker_notes : unit -> unit
1515
val send_speaker_notes : string -> unit
1616
val opened_recording_panel : unit -> unit
1717
val closed_recording_panel : unit -> unit
18-
19-
val send_gui_coordinate :
20-
Common_types.gui_id -> Actions_arguments.Gui.t -> unit
21-
18+
val send_gui_coordinate : Common_types.gui_id -> Actions_arguments.Gui.t -> unit
2219
val send_loc : Common_types.gui_id -> unit

src/lspishow/roots.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ val saved : t
1414
(** The roots for the saved buffers. *)
1515

1616
val update_root :
17-
should_broadcast: bool ->
17+
should_broadcast:bool ->
1818
Slipshow.Compile.file_reader ->
1919
t ->
2020
Slipshow.Ast.unit' Fpath.map ->

src/server/proto/proto.mli

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ module Client_to_server : sig
1212
| Ping
1313
| UpdateFrom of string
1414
| Save_drawing of string * string (* path * content *)
15-
| Save_gui_position of {
16-
id : Common_types.gui_id;
17-
coord : string;
18-
}
15+
| Save_gui_position of { id : Common_types.gui_id; coord : string }
1916
| GotoLoc of Common_types.gui_id
2017

2118
include Serializing with type t := t

src/server/slipshow_server.mli

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ val do_watch :
2929
module Server : sig
3030
val do_serve :
3131
port:int ->
32-
to_lsp_server:
33-
(Proto.Client_to_server.t -> root -> unit)
34-
option ->
32+
to_lsp_server:(Proto.Client_to_server.t -> root -> unit) option ->
3533
roots ->
3634
(unit, [> `Addr_in_use ]) result Lwt.t
3735
end

0 commit comments

Comments
 (0)