Skip to content

Commit

Permalink
just auto complete all the time mabye
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed Oct 5, 2024
1 parent 014c4c0 commit 1a1a664
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions coq/server/registrants/omnifunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,8 @@ def _should_cont(
return False
elif any(cur.line_before.endswith(token) for token in skip_after):
return False
elif cur.syms_before != "":
return True
else:
have_space = (
bool(stripped := cur.line_before.rstrip())
and len(cur.line_before) - len(stripped) <= 1
)
return have_space

return True


async def comp_func(
Expand Down

0 comments on commit 1a1a664

Please sign in to comment.