Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Nov 26, 2023
1 parent f1edd2c commit 5fe326e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocaml-lsp-server/bench/documents.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ let document =

let long_document_text =
{|let prefix_of_position ~short_path source position =
let open Prefix_parser in
match Msource.text source with
| "" -> ""
| text ->
Expand All @@ -23,7 +24,7 @@ let long_document_text =
in

let reconstructed_prefix =
Prefix_parser.parse prefix_text
try_parse_with_regex prefix_text
|> Option.value ~default:""
|> String.rev_filter ~f:(fun x -> x <> ' ')
in
Expand Down

0 comments on commit 5fe326e

Please sign in to comment.