Skip to content

Commit

Permalink
enh(css-like) Add support for CSS Grid properties (#3314)
Browse files Browse the repository at this point in the history
* Add support for CSS Grid
* update changelog
  • Loading branch information
monochromer committed Aug 29, 2021
1 parent a41d712 commit 51d4c1b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -3,9 +3,11 @@
enh(css/less/stylus/scss) improve consistency of function dispatch (#3301) [Josh Goebel][]
enh(css/less/stylus/scss) detect block comments more fully (#3301) [Josh Goebel][]
- fix(cpp) fix `xor_eq` keyword highlighting. [Denis Kovalchuk][]
- enh(css/less/stylus/scss) add support for CSS Grid properties [monochromer][]

[Josh Goebel]: https://github.com/joshgoebel
[Denis Kovalchuk]: https://github.com/deniskovalchuk
[monochromer]: https://github.com/monochromer

## Version 11.2.0

Expand Down
18 changes: 18 additions & 0 deletions src/languages/lib/css-shared.js
Expand Up @@ -346,6 +346,23 @@ export const ATTRIBUTES = [
'font-variant-ligatures',
'font-variation-settings',
'font-weight',
'gap',
'grid',
'grid-area',
'grid-auto-columns',
'grid-auto-flow',
'grid-auto-rows',
'grid-column',
'grid-column-end',
'grid-column-start',
'grid-gap',
'grid-row',
'grid-row-end',
'grid-row-start',
'grid-template',
'grid-template-areas',
'grid-template-columns',
'grid-template-rows',
'height',
'hyphens',
'icon',
Expand Down Expand Up @@ -410,6 +427,7 @@ export const ATTRIBUTES = [
'quotes',
'resize',
'right',
'row-gap',
'src', // @font-face
'tab-size',
'table-layout',
Expand Down

0 comments on commit 51d4c1b

Please sign in to comment.