mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 02:48:34 +00:00
Support only UTF-8 for now when communicating with language server
This commit is contained in:
parent
a82a12fd14
commit
78c158e1a4
2 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@ anyhow = "1.0"
|
||||||
async-pipe = { git = "https://github.com/routerify/async-pipe-rs", rev = "feeb77e83142a9ff837d0767652ae41bfc5d8e47", optional = true }
|
async-pipe = { git = "https://github.com/routerify/async-pipe-rs", rev = "feeb77e83142a9ff837d0767652ae41bfc5d8e47", optional = true }
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
lsp-types = "0.91"
|
lsp-types = { version = "0.91", features = ["proposed"] }
|
||||||
parking_lot = "0.11"
|
parking_lot = "0.11"
|
||||||
postage = { version = "0.4.1", features = ["futures-traits"] }
|
postage = { version = "0.4.1", features = ["futures-traits"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|
|
@ -226,6 +226,7 @@ impl LanguageServer {
|
||||||
experimental: Some(json!({
|
experimental: Some(json!({
|
||||||
"serverStatusNotification": true,
|
"serverStatusNotification": true,
|
||||||
})),
|
})),
|
||||||
|
offset_encoding: Some(vec!["utf-8".to_string()]),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
trace: Default::default(),
|
trace: Default::default(),
|
||||||
|
|
Loading…
Reference in a new issue