Skip to content

Fix a ULSP crash and improve code readability a bit #526

Merged
Jafaral merged 3 commits intouniconproject:masterfrom
Jafaral:ulsp-crash
Sep 1, 2025
Merged

Fix a ULSP crash and improve code readability a bit #526
Jafaral merged 3 commits intouniconproject:masterfrom
Jafaral:ulsp-crash

Conversation

@Jafaral
Copy link
Member

@Jafaral Jafaral commented Sep 1, 2025

No description provided.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
@Jafaral Jafaral requested a review from Don-Ward September 1, 2025 04:38
}
}
# Get rid of root / and change unicode encoded "%3A" back to ":" on Windows machines
fname := replace(fname[2:0], "%3A", ":")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On non Windows systems, the latest PR added this code that is stripping the leading / character causing ULSP to fail to find any source file.

@Jafaral Jafaral merged commit 1d5434c into uniconproject:master Sep 1, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant