Enable SQL highlighting in the editor (#1056)

This commit is contained in:
Jonatan Kłosko 2022-03-17 13:27:28 +01:00 committed by GitHub
parent 7584a02adb
commit 7d30aab07b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -54,6 +54,9 @@ const theme = {
// JSON specific // JSON specific
{ token: "string.key", foreground: colors.lightRed }, { token: "string.key", foreground: colors.lightRed },
{ token: "keyword.json", foreground: colors.blue }, { token: "keyword.json", foreground: colors.blue },
// SQL specific
{ token: "operator.sql", foreground: colors.purple },
], ],
colors: { colors: {

View file

@ -55,7 +55,7 @@ module.exports = (env, options) => {
}), }),
new MiniCssExtractPlugin({ filename: "../css/app.css" }), new MiniCssExtractPlugin({ filename: "../css/app.css" }),
new MonacoWebpackPlugin({ new MonacoWebpackPlugin({
languages: ["markdown", "elixir", "xml", "json"], languages: ["markdown", "elixir", "xml", "json", "sql"],
}), }),
], ],
optimization: { optimization: {