Set is_saved to True in m_text_document__did_open#604
Set is_saved to True in m_text_document__did_open#604ccordoba12 merged 2 commits intopalantir:developfrom
Conversation
|
Thanks for your interest in palantir/python-language-server, @cslux! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request. |
|
Hmm, there is still something bogus I think. Can someone enlighten me please, and tell me what's going on here. Thanks! EDIT: |
|
@cslux, so is this ready to be merged? |
|
Do not merge this. I tried this fix locally not so long ago with Emacs as well and experienced a bunch of issues, like error of "Wrong line number" or something like that. Had no time to debug them though. |
|
I haven't seen this error. Can you try it again please? |
|
@ccordoba12 Regarding the issue mentioned at #604 (comment). It seems to be indeed a When lsp-mode starts the python-language-server, the following things happen.
Both didOpen and didChangeConfiguration requests will result in a When I open another file in the same project everything works as expected. No errors... I think didChangeConfiguration should be called before didOpen. |
Okay, now i remember. The issue with line number i mentioned is when i added |
|
@mpanarin NP, thanks for checking again! |
|
Shouldn't we just include the |
I fixed that on lsp-mode side. |
|
@yyoncho Thank you! Works now! @ccordoba12 This can be merged now. |
|
@gatesn, what do you say about this one? |
|
The only odd thing is that |
Fixes #603.