@codemirror/lang-python
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -0,1 +1,7 @@ | ||
## 6.0.1 (2022-07-21) | ||
### Bug fixes | ||
Fix (non-)auto indentation in template strings and comments. | ||
## 6.0.0 (2022-06-08) | ||
@@ -2,0 +8,0 @@ |
@@ -36,2 +36,3 @@ import { parser } from '@lezer/python'; | ||
"ArrayExpression ArrayComprehensionExpression": /*@__PURE__*/delimitedIndent({ closing: "]" }), | ||
"String FormatString": () => null, | ||
Script: context => { | ||
@@ -38,0 +39,0 @@ if (context.pos + /\s*/.exec(context.textAfter)[0].length >= context.node.to) { |
{ | ||
"name": "@codemirror/lang-python", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Python language support for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -5,10 +5,10 @@ <!-- NOTE: README.md is generated from src/README.md --> | ||
[ [**WEBSITE**](https://codemirror.net/6/) | [**ISSUES**](https://github.com/codemirror/codemirror.next/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-python/blob/main/CHANGELOG.md) ] | ||
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-python/blob/main/CHANGELOG.md) ] | ||
This package implements Python language support for the | ||
[CodeMirror](https://codemirror.net/6/) code editor. | ||
[CodeMirror](https://codemirror.net/) code editor. | ||
The [project page](https://codemirror.net/6/) has more information, a | ||
number of [examples](https://codemirror.net/6/examples/) and the | ||
[documentation](https://codemirror.net/6/docs/). | ||
The [project page](https://codemirror.net/) has more information, a | ||
number of [examples](https://codemirror.net/examples/) and the | ||
[documentation](https://codemirror.net/docs/). | ||
@@ -26,3 +26,3 @@ This code is released under an | ||
<dt id="user-content-python"> | ||
<code><strong><a href="#user-content-python">python</a></strong>() → <a href="https://codemirror.net/6/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt> | ||
<code><strong><a href="#user-content-python">python</a></strong>() → <a href="https://codemirror.net/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt> | ||
@@ -32,3 +32,3 @@ <dd><p>Python language support.</p> | ||
<dt id="user-content-pythonlanguage"> | ||
<code><strong><a href="#user-content-pythonlanguage">pythonLanguage</a></strong>: <a href="https://codemirror.net/6/docs/ref#language.LezerLanguage">LezerLanguage</a></code></dt> | ||
<code><strong><a href="#user-content-pythonlanguage">pythonLanguage</a></strong>: <a href="https://codemirror.net/docs/ref#language.LezerLanguage">LezerLanguage</a></code></dt> | ||
@@ -35,0 +35,0 @@ <dd><p>A language provider based on the <a href="https://github.com/lezer-parser/python">Lezer Python |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13456
161