diff --git a/CHANGELOG.md b/CHANGELOG.md index 363b41c..26edc23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 6.3.1 (2024-11-26) + +### Bug fixes + +When completing a property name, insert a colon and space after the name. + ## 6.3.0 (2024-09-07) ### New features diff --git a/package.json b/package.json index dcdd572..a8acffc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codemirror/lang-css", - "version": "6.3.0", + "version": "6.3.1", "description": "CSS language support for the CodeMirror code editor", "scripts": { "test": "cm-runtests", diff --git a/src/complete.ts b/src/complete.ts index e9e759b..7310bb5 100644 --- a/src/complete.ts +++ b/src/complete.ts @@ -16,7 +16,7 @@ function properties() { } } } - _properties = names.sort().map(name => ({type: "property", label: name})) + _properties = names.sort().map(name => ({type: "property", label: name, apply: name + ": "})) } return _properties || [] }