mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-31 03:07:53 +08:00
Enable SQL highlighting in the editor (#1056)
This commit is contained in:
parent
7584a02adb
commit
7d30aab07b
2 changed files with 4 additions and 1 deletions
|
@ -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: {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue