mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 15:00:00 +00:00
dashboard: fix space indents; code formatting
This commit is contained in:
parent
00e34b322d
commit
0ea655ecee
1 changed files with 61 additions and 56 deletions
|
@ -61,9 +61,14 @@
|
||||||
cmConfig: {
|
cmConfig: {
|
||||||
indentWithTabs: false,
|
indentWithTabs: false,
|
||||||
indentUnit: 2,
|
indentUnit: 2,
|
||||||
|
smartIndent: false,
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
mode: "text/x-yaml",
|
mode: "text/x-yaml",
|
||||||
theme: "oceanic-next",
|
theme: "oceanic-next",
|
||||||
|
extraKeys: {
|
||||||
|
Tab: cm => cm.execCommand("indentMore"),
|
||||||
|
"Shift-Tab": cm => cm.execCommand("indentLess"),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue