Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Fix weird indentation for on-type completion #913

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Nov 23, 2023

The issue was caused by incorrect indentation calculation when the line was not empty before the cursor. This commit fixes the issue by calculating the indentation based on the line's content.

The issue was caused by incorrect indentation calculation when the line
was not empty before the cursor. This commit fixes the issue by
calculating the indentation based on the line's content.

Co-authored-by: Vinicius Stock <[email protected]>
@st0012 st0012 added the bugfix This PR will fix an existing bug label Nov 23, 2023
@st0012 st0012 self-assigned this Nov 23, 2023
@st0012 st0012 requested a review from a team as a code owner November 23, 2023 19:02
@st0012 st0012 requested review from andyw8 and KaanOzkan November 23, 2023 19:02
@st0012 st0012 merged commit 0158651 into main Nov 23, 2023
4 checks passed
@st0012 st0012 deleted the fix-indentation-error branch November 23, 2023 19:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix This PR will fix an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants