Document semantic token modifiers
This commit is contained in:
parent
3a13699558
commit
887dd2d5bb
2 changed files with 26 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ pub enum HlTag {
|
|||
None,
|
||||
}
|
||||
|
||||
// Don't forget to adjust the feature description in crates/ide/src/syntax_highlighting.rs.
|
||||
// And make sure to use the lsp strings used when converting to the protocol in crates\rust-analyzer\src\semantic_tokens.rs, not the names of the variants here.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
#[repr(u8)]
|
||||
pub enum HlMod {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue