Disable ropey unicode_lines feature (#50)
With the current configuration, Ropey recognises more EOL sequences than the Language Server Protocol. This mismatch can lead to errors when trying to maintain a mirror of the user's documents as the llm-ls might have more lines. See: https://docs.rs/ropey/1.6.0/ropey/index.html#a-note-about-line-breaks See: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocuments
This commit is contained in:
parent
b1d0eb4ffe
commit
2a433cdf75
|
@ -8,7 +8,10 @@ name = "llm-ls"
|
|||
|
||||
[dependencies]
|
||||
home = "0.5"
|
||||
ropey = "1.6"
|
||||
ropey = { version = "1.6", default-features = false, features = [
|
||||
"simd",
|
||||
"cr_lines",
|
||||
] }
|
||||
reqwest = { version = "0.11", default-features = false, features = [
|
||||
"json",
|
||||
"rustls-tls",
|
||||
|
|
Loading…
Reference in a new issue