We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d972723 commit 2c720c4Copy full SHA for 2c720c4
lsp/src/text_document.ml
@@ -29,6 +29,8 @@ type t =
29
; position_encoding : [ `UTF8 | `UTF16 ]
30
}
31
32
+let position_encoding t = t.position_encoding
33
+
34
let make ~position_encoding
35
{ DidOpenTextDocumentParams.textDocument =
36
{ TextDocumentItem.languageId; text; uri; version }
lsp/src/text_document.mli
@@ -9,6 +9,8 @@ val languageId : t -> string
9
10
val documentUri : t -> Uri0.t
11
12
+val position_encoding : t -> [ `UTF16 | `UTF8 ]
13
14
val version : t -> int
15
16
val text : t -> string
0 commit comments