Latest LSP 3.16 protocol

Pulls in https://github.com/gluon-lang/lsp-types/pull/186
This commit is contained in:
kjeremy
2020-11-16 15:10:13 -05:00
parent 0a658c4a97
commit 233fdb12ce
12 changed files with 32 additions and 33 deletions

View File

@@ -6,11 +6,11 @@
/// client notifications.
#[derive(Debug, Clone)]
pub(crate) struct DocumentData {
pub(crate) version: Option<i64>,
pub(crate) version: i32,
}
impl DocumentData {
pub(crate) fn new(version: i64) -> Self {
DocumentData { version: Some(version) }
pub(crate) fn new(version: i32) -> Self {
DocumentData { version }
}
}