Formatting and docs

This commit is contained in:
John Renner
2021-05-10 13:34:09 -07:00
parent c3ba1f14fa
commit 7ae3967e57
6 changed files with 35 additions and 16 deletions

View File

@@ -381,7 +381,7 @@ pub(crate) fn semantic_tokens(
text: &str,
line_index: &LineIndex,
highlights: Vec<HlRange>,
include_strings: bool
include_strings: bool,
) -> lsp_types::SemanticTokens {
let id = TOKEN_RESULT_COUNTER.fetch_add(1, Ordering::SeqCst).to_string();
let mut builder = semantic_tokens::SemanticTokensBuilder::new(id);