Fix Write being sent down the wire.

Not sure what the deal is here but it wasn't sending Write.
This commit is contained in:
kjeremy 2020-01-10 15:30:17 -05:00
parent 32540abcb3
commit a633a6275a

View file

@ -57,10 +57,10 @@ impl Conv for ReferenceAccess {
type Output = ::lsp_types::DocumentHighlightKind; type Output = ::lsp_types::DocumentHighlightKind;
fn conv(self) -> Self::Output { fn conv(self) -> Self::Output {
use lsp_types::DocumentHighlightKind::*; use lsp_types::DocumentHighlightKind;
match self { match self {
ReferenceAccess::Read => Read, ReferenceAccess::Read => DocumentHighlightKind::Read,
ReferenceAccess::Write => Write, ReferenceAccess::Write => DocumentHighlightKind::Write,
} }
} }
} }