Skip to content

Commit

Permalink
Fix typo when parsing LSP function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
adamscott committed Apr 15, 2023
1 parent 4dcf2c5 commit 474936d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -337,7 +337,7 @@ void ExtendGDScriptParser::parse_function_symbol(const GDScriptParser::FunctionN
symbol.kind = lsp::SymbolKind::Variable;
symbol.name = parameter->identifier->name;
symbol.range.start.line = LINE_NUMBER_TO_INDEX(parameter->start_line);
symbol.range.start.character = LINE_NUMBER_TO_INDEX(parameter->start_line);
symbol.range.start.character = LINE_NUMBER_TO_INDEX(parameter->start_column);
symbol.range.end.line = LINE_NUMBER_TO_INDEX(parameter->end_line);
symbol.range.end.character = LINE_NUMBER_TO_INDEX(parameter->end_column);
symbol.uri = uri;
Expand Down

0 comments on commit 474936d

Please sign in to comment.