expert-lsp / expert-lsp/expert

Bug: removal of trailing whitespaces in multiline strings

Open
#246 3 comments 0 reactions 0 assignees View on GitHub
needs:reproduction
Dominant language
Elixir
Stars
2.1k
Forks
113
Avg merge
1d 10h
Merged PRs (30d)
26

Description

Expert seems to remove trailing whitespaces even within a string block, i.e.
```elixir
input = ~S"""
123 328 51 64
45 64 387 23
6 98 215 314
* + * +
"""
```
becomes:
```elixir
input = ~S"""
123 328 51 64
45 64 387 23
6 98 215 314
* + * +
"""
```
A multi-line string should not be touched

Note: I run into this issue when trying to complete this years [advent of code](https://adventofcode.com/2025/day/6) puzzle (it's an issue in part2, but the block is visible already in part1)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.