fix(lsp): partially revert semantic token gravity change from #21574 (#21680)

This commit is contained in:
jdrouhard
2023-01-08 00:43:15 -06:00
committed by GitHub
parent d89290b453
commit 0b136a14dc

View File

@@ -408,7 +408,6 @@ function STHighlighter:on_win(topline, botline)
hl_group = '@' .. token.type,
end_col = token.end_col,
priority = vim.highlight.priorities.semantic_tokens,
right_gravity = false,
end_right_gravity = true,
strict = false,
})
@@ -420,7 +419,6 @@ function STHighlighter:on_win(topline, botline)
hl_group = '@' .. modifier,
end_col = token.end_col,
priority = vim.highlight.priorities.semantic_tokens + 1,
right_gravity = false,
end_right_gravity = true,
strict = false,
})