mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
MISC: Support css file type (#2378)
This commit is contained in:
@@ -130,6 +130,11 @@ export class ScriptEditor {
|
||||
//json language server tries to load a schema by default
|
||||
completionItems: false,
|
||||
});
|
||||
|
||||
monaco.languages.css.cssDefaults.setModeConfiguration({
|
||||
...monaco.languages.css.cssDefaults.modeConfiguration,
|
||||
});
|
||||
|
||||
// Load themes
|
||||
loadThemes(monaco.editor.defineTheme);
|
||||
monaco.editor.defineTheme("customTheme", makeTheme(Settings.EditorTheme));
|
||||
|
||||
Reference in New Issue
Block a user