Skip to content

Commit db475ef

Browse files
authored
Merge pull request #5 from jacobcassidy/update-at-rule
Adds nesting syntax highlighting for body of `@support` at rule.
2 parents 2ed774c + 0565a2e commit db475ef

File tree

3 files changed

+37
-42
lines changed

3 files changed

+37
-42
lines changed

CHANGELOG.md

+31-40
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
1-
# Change Log
1+
# Changelog
22

3-
All notable changes to the "CSS Nesting Syntax Highlighting" extension will be documented in this file.
3+
All notable changes to this project will be documented in this file.
44

5-
## v0.1.1
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

7-
_2024-08-25_
8+
## [0.2.0] - 2025-01-06
89

9-
### Modified
10+
### Added
1011

11-
- Updated `README.md` with Table of Contents and better organization.
12+
- Added nesting syntax highlighting for body of `@support` rule.
1213

13-
## v0.1.0
14+
### Changed
1415

15-
_2024-03-15_
16+
- Updated CHANGELOG.md to follow formatting set by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1617

17-
### Modified
18+
## [0.1.1] - 2024-08-25
1819

19-
- Changed `package.json` vscode engine to v1.84.0 and above to allow users on older versions to use the extension.
20+
### Changed
21+
22+
- Updated `README.md` with Table of Contents and better organization.
23+
24+
## [0.1.0] - 2024-03-15
2025

21-
## v0.0.9
26+
### Changed
27+
28+
- Changed `package.json` vscode engine to v1.84.0 and above to allow users on older versions to use the extension.
2229

23-
_2024-02-24_
30+
## [0.0.9] - 2024-02-24
2431

2532
### Added
2633

@@ -42,9 +49,7 @@ _2024-02-24_
4249
}
4350
```
4451

45-
## v0.0.8
46-
47-
_2024-02-22_
52+
## [0.0.8] - 2024-02-22
4853

4954
### Added
5055

@@ -57,17 +62,13 @@ _2024-02-22_
5762
}
5863
```
5964

60-
## v0.0.7
61-
62-
_2024-02-22_
65+
## [0.0.7] - 2024-02-22
6366

64-
### Modified
67+
### Changed
6568

6669
- Revert package.json language keyword to lowercase as extension doesn't work if it is uppercase.
6770

68-
## v0.0.6
69-
70-
_2024-02-22_
71+
## [0.0.6] - 2024-02-22
7172

7273
### Added
7374

@@ -83,25 +84,19 @@ _2024-02-22_
8384
@media only screen and (max-width: calc( var(--size) * 1rem)) {}
8485
```
8586

86-
## v0.0.5
87-
88-
_2024-02-21_
87+
## [0.0.5] - 2024-02-21
8988

9089
### Added
9190

9291
- Added note to reload VSCode after installing this extension.
9392

94-
## v0.0.4
93+
## [0.0.4] - 2024-02-19
9594

96-
_2024-02-19_
97-
98-
### Modified
95+
### Changed
9996

10097
- Added border to logo image for contrast on dark backgrounds.
10198

102-
## v0.0.3
103-
104-
_2024-02-19_
99+
## [0.0.3] - 2024-02-19
105100

106101
### Added
107102

@@ -113,27 +108,23 @@ _2024-02-19_
113108
- Added extension's logo image.
114109
- Added `.prettierrc` file for formatting json with tabs.
115110

116-
### Modified
111+
### Changed
117112

118113
- Updated demo CSS.
119114
- Updated other CSS for review and testing.
120115

121116
### Removed
122117

123-
- Remove `&` from invalid punctuation so it can be used as a CSS nesting selector.
118+
- Removed `&` from invalid punctuation so it can be used as a CSS nesting selector.
124119
- Removed `language-configuration.json` and package.json's language contribution block pointing to it.
125120

126-
## v0.0.2
127-
128-
_2024-02-17_
121+
## [0.0.2] - 2024-02-17
129122

130123
### Added
131124

132125
- Added demo CSS files for testing and review.
133126

134-
## v0.0.1
135-
136-
_2024-02-16_
127+
## [0.0.1] - 2024-02-16
137128

138129
### Added
139130

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "css-nesting-syntax-highlighting",
33
"displayName": "CSS Nesting Syntax Highlighting",
44
"description": "Updates VSCode's CSS TextMate rules to add CSS Nesting",
5-
"version": "0.1.1",
5+
"version": "0.2.0",
66
"icon": "images/css-nesting-syntax-highlighting-logo.png",
77
"publisher": "jacobcassidy",
88
"bugs": {
@@ -49,6 +49,7 @@
4949
"isPreReleaseVersion": false,
5050
"hasPreReleaseVersion": false,
5151
"installedTimestamp": 1710536983258,
52-
"pinned": false
52+
"pinned": false,
53+
"size": 923271
5354
}
5455
}

syntaxes/css.tmLanguage.json

+3
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@
557557
},
558558
"name": "meta.at-rule.supports.body.css",
559559
"patterns": [
560+
{
561+
"include": "#nesting-at-rules"
562+
},
560563
{
561564
"include": "$self"
562565
}

0 commit comments

Comments
 (0)