Skip to content

Fixes off by one for code action fixes #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

tzachar
Copy link
Contributor

@tzachar tzachar commented May 29, 2023

It seems that applying code fixes in neovim is off by one column. For example, running sort imports on the following code:

import json
import date
date

results in the following:

iimport json
import date
ate

applying the this patch seems to solve the issue

It seems that applying code fixes in neovim is off by one column.
For example, running sort imports on the following code:

```python
import json
import date
date
```

results in the following:
```python
iimport json
import date
ate
```

applying the this patch seems to solve the issue
@jhossbach
Copy link
Member

Great, thanks for addressing this!

@jhossbach jhossbach merged commit 07fa9ac into python-lsp:main May 30, 2023
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.

2 participants