Skip to content

Commit

Permalink
Update vyper_lsp/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Cooper <[email protected]>
  • Loading branch information
z80dev and charles-cooper authored Dec 9, 2023
1 parent 5835bbd commit fbf1850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper_lsp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get_internal_fn_name_at_cursor(sentence: str, cursor_index: int) -> Optional

for segment in segments:
if not segment:
accumulated_length += 5 # Length of 'self.'
accumulated_length += len("self.")
continue

# Update the accumulated length for each segment
Expand Down

0 comments on commit fbf1850

Please sign in to comment.