Skip to content

Commit

Permalink
support postcss language mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Nov 15, 2016
1 parent a5fa5b5 commit d707fdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports.activate = context => {
}
}
}, {
documentSelector: ['css', 'less', 'scss'],
documentSelector: ['css', 'less', 'postcss', 'scss'],
synchronize: {
configurationSection: 'stylelint',
fileEvents: vscode.workspace.createFileSystemWatcher('**/{.stylelintrc,stylelint.config.js}')
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
],
"activationEvents": [
"onLanguage:css",
"onLanguage:scss",
"onLanguage:less"
"onLanguage:less",
"onLanguage:postcss",
"onLanguage:scss"
],
"main": "extension.js",
"contributes": {
Expand Down

0 comments on commit d707fdd

Please sign in to comment.