Improve the way indentation for the current body is preserved when inenting new lines.
Properly indent else:
when attached to a for
or while
statement.
Explicitly declare dependencies on @lezer/common and @codemirror/state
Fix a bug where blocks started after a wrapped argument list or similar construct were indented too far.
Don't indent lines after a dedented comment line.
Remove leftover log statements.
The globalCompletion
completion source (included in the language support returned from python()
) completes standard Python globals and keywords.
Export a localCompletionSource
function that completes locally defined variables. Included in the support extensions returned from python()
.
Make sure the language object has a name.
Add proper indentation handling of else
clauses in try
statements.
Allow prefixed strings to be closed by closeBrackets
.
Fix (non-)auto indentation in template strings and comments.
Update dependencies to 6.0.0
Add folding information for set and tuple expressions.
Make sure * and ** modifiers are highlighted as such, add modifier tag for FormatSpec nodes.
Fix issue where folding body nodes folded away the newline after the body.
Fix the way block bodies are folded.
Make sure that indenting an else/elif/except/finally that's indented too deep moves it back up.
Fix incorrect versions for @lezer dependencies.
Improve indentation for dictionaries, arrays, and tuples. Fix delimitedIndent calls
Indentation on deindented blank lines after a block will no longer return to the block's indentation level.
Fix highlighting of property names. Improve indentation support
Don't deindent when pressing enter at the end of the document.
Properly indent else/elif/except syntax.
Update dependencies to 0.18.
Improves the highlighting specificity for names of function and class definitions.
The package now also exports a CommonJS module.
First numbered release.