Skip to content
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

Bug when formatting selection at top of file #1

Closed
rupert opened this issue Jun 15, 2018 · 2 comments
Closed

Bug when formatting selection at top of file #1

rupert opened this issue Jun 15, 2018 · 2 comments

Comments

@rupert
Copy link
Owner

rupert commented Jun 15, 2018

The following gets formatted correctly:

# hello
x=1+2

If the comment is removed the code is not formatted:

x=1+2

Tested using Sublime Text.

@rupert
Copy link
Owner Author

rupert commented Jun 15, 2018

  • Sublime Text 3.1.1 Build 3176
  • LSP 0.6.0
appdirs==1.4.3
attrs==18.1.0
black==18.6b2
click==6.7
future==0.16.0
isort==4.3.4
jedi==0.12.0
mypy==0.610
parso==0.2.1
pluggy==0.6.0
pyls-black==0.1.0
pyls-isort==0.1.1
pyls-mypy==0.1.3
python-language-server==0.19.0
toml==0.9.4
typed-ast==1.1.0

@rupert
Copy link
Owner Author

rupert commented Jun 16, 2018

Fixed in 0.2.0.

@rupert rupert closed this as completed Jun 16, 2018
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

No branches or pull requests

1 participant