Skip to content

Commit ded6489

Browse files
casch-atccordoba12
authored andcommitted
Set is_saved to True in m_text_document__did_open (#603) (#604)
1 parent ac5829a commit ded6489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyls/python_ls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def m_text_document__did_close(self, textDocument=None, **_kwargs):
242242
def m_text_document__did_open(self, textDocument=None, **_kwargs):
243243
self.workspace.put_document(textDocument['uri'], textDocument['text'], version=textDocument.get('version'))
244244
self._hook('pyls_document_did_open', textDocument['uri'])
245-
self.lint(textDocument['uri'], is_saved=False)
245+
self.lint(textDocument['uri'], is_saved=True)
246246

247247
def m_text_document__did_change(self, contentChanges=None, textDocument=None, **_kwargs):
248248
for change in contentChanges:

0 commit comments

Comments
 (0)