mirror of
https://github.com/c-cube/linol.git
synced 2025-12-06 11:15:46 -05:00
format
This commit is contained in:
parent
d7dd8ecec0
commit
691eac4863
1 changed files with 89 additions and 88 deletions
|
|
@ -627,7 +627,8 @@ module Make (IO : IO) = struct
|
|||
IO.return ()
|
||||
(** Override to handle unprocessed notifications *)
|
||||
|
||||
method filter_text_document (_doc_uri: Lsp.Types.DocumentUri.t) : bool = true
|
||||
method filter_text_document (_doc_uri : Lsp.Types.DocumentUri.t) : bool =
|
||||
true
|
||||
(** Filter the document URI to check if we want to process it or not.
|
||||
By default we accept all documents. *)
|
||||
|
||||
|
|
@ -723,8 +724,8 @@ module Make (IO : IO) = struct
|
|||
Lsp.Text_document.make ~position_encoding:positionEncoding
|
||||
(DidOpenTextDocumentParams.create
|
||||
~textDocument:
|
||||
(TextDocumentItem.create ~languageId ~uri:doc.uri ~version
|
||||
~text:""))
|
||||
(TextDocumentItem.create ~languageId ~uri:doc.uri
|
||||
~version ~text:""))
|
||||
| Some st ->
|
||||
Lsp.Text_document.make ~position_encoding:positionEncoding
|
||||
(DidOpenTextDocumentParams.create
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue