summaryrefslogtreecommitdiff
path: root/cli/lsp/semantic_tokens.rs
diff options
context:
space:
mode:
authorJason <m.jason.liu@outlook.com>2022-04-03 12:17:30 +0800
committerGitHub <noreply@github.com>2022-04-03 14:17:30 +1000
commita6e4b4297d840e9cfe4bdf373f24da8202f58e2d (patch)
tree9de6209eaa5affc810bc5bd9d7cc65384d55a9f3 /cli/lsp/semantic_tokens.rs
parent6c25b5135dfa6d9be35f6993e4b43d442977eff9 (diff)
refactor(lsp): migrate from lspower back to tower-lsp (#14163)
Diffstat (limited to 'cli/lsp/semantic_tokens.rs')
-rw-r--r--cli/lsp/semantic_tokens.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/lsp/semantic_tokens.rs b/cli/lsp/semantic_tokens.rs
index 4937600d3..d15b55cec 100644
--- a/cli/lsp/semantic_tokens.rs
+++ b/cli/lsp/semantic_tokens.rs
@@ -5,12 +5,12 @@
// and https://github.com/microsoft/vscode/blob/main/src/vs/workbench/api/common/extHostTypes.ts
// for the SemanticTokensBuilder implementation.
-use lspower::lsp::SemanticToken;
-use lspower::lsp::SemanticTokenModifier;
-use lspower::lsp::SemanticTokenType;
-use lspower::lsp::SemanticTokens;
-use lspower::lsp::SemanticTokensLegend;
use std::ops::{Index, IndexMut};
+use tower_lsp::lsp_types::SemanticToken;
+use tower_lsp::lsp_types::SemanticTokenModifier;
+use tower_lsp::lsp_types::SemanticTokenType;
+use tower_lsp::lsp_types::SemanticTokens;
+use tower_lsp::lsp_types::SemanticTokensLegend;
pub const MODIFIER_MASK: u32 = 255;
pub const TYPE_OFFSET: u32 = 8;