We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 673a766 commit 52debd4Copy full SHA for 52debd4
1 file changed
crates/emmylua_ls/src/handlers/semantic_token/build_semantic_tokens.rs
@@ -397,9 +397,14 @@ fn build_node_semantic_token(
397
return Some(());
398
}
399
400
- _ => {}
+ _ => {
401
+ if !prefix_type.is_function() {
402
+ return Some(());
403
+ }
404
405
406
407
+
408
builder.push(name.syntax(), SemanticTokenType::FUNCTION);
409
410
LuaExpr::IndexExpr(index_expr) => {
0 commit comments