File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -892,8 +892,9 @@ mod server {
892
892
const TRIADIC_MODIFIER_STT : SemanticTokenType = SemanticTokenType :: new ( "triadic_modifier" ) ;
893
893
const MODULE_STT : SemanticTokenType = SemanticTokenType :: new ( "uiua_module" ) ;
894
894
895
- const UIUA_SEMANTIC_TOKEN_TYPES : [ SemanticTokenType ; 13 ] = [
895
+ const UIUA_SEMANTIC_TOKEN_TYPES : [ SemanticTokenType ; 14 ] = [
896
896
SemanticTokenType :: COMMENT ,
897
+ SemanticTokenType :: PARAMETER ,
897
898
UIUA_NUMBER_STT ,
898
899
UIUA_STRING_STT ,
899
900
STACK_FUNCTION_STT ,
@@ -909,8 +910,9 @@ mod server {
909
910
] ;
910
911
911
912
const NO_STT : SemanticTokenType = SemanticTokenType :: new ( "none" ) ;
912
- const GENERIC_SEMANTIC_TOKEN_TYPES : [ SemanticTokenType ; 13 ] = [
913
+ const GENERIC_SEMANTIC_TOKEN_TYPES : [ SemanticTokenType ; 14 ] = [
913
914
SemanticTokenType :: COMMENT ,
915
+ SemanticTokenType :: PARAMETER ,
914
916
SemanticTokenType :: NUMBER ,
915
917
SemanticTokenType :: new ( "lifetime" ) ,
916
918
NO_STT ,
@@ -1636,6 +1638,7 @@ mod server {
1636
1638
} ;
1637
1639
stt
1638
1640
}
1641
+ SpanKind :: Placeholder ( _) => SemanticTokenType :: PARAMETER ,
1639
1642
_ => continue ,
1640
1643
} ;
1641
1644
let mut token_type = UIUA_SEMANTIC_TOKEN_TYPES
Original file line number Diff line number Diff line change 3
3
## 0.14
4
4
The next version of Uiua
5
5
6
- - Placeholder semantic tokens in LSP
7
6
- Optimize ` conjoin inventory `
8
7
- Stabilize ` backward ` , ` case `
9
8
- Compile-time code string evaluation
You can’t perform that action at this time.
0 commit comments