Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-laplante committed May 15, 2024
1 parent fd3263c commit a5ddbe4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/BitBakeMode.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import "ace-builds/src-noconflict/ace";
import {PythonHighlightRules} from "ace-builds/src-noconflict/mode-python"
import {ShHighlightRules} from "ace-builds/src-noconflict/mode-sh"
import ace from "ace-builds";
import "ace-builds/esm-resolver";
import "ace-builds/src-noconflict/ext-language_tools";
import "ace-builds/src-noconflict/mode-python";
import "ace-builds/src-noconflict/mode-sh";

//ace.config.set('basePath', '/assets/ace-builds/src-noconflict')

const TextHighlightRules = ace.require('ace/mode/text_highlight_rules').TextHighlightRules;
const TextMode = ace.require("ace/mode/text").Mode

const ShHighlightRules = ace.require("ace/mode/sh_highlight_rules").ShHighlightRules;
const PythonHighlightRules = ace.require("ace/mode/python_highlight_rules").PythonHighlightRules;

export class BitBakeHighlightRules extends TextHighlightRules {
constructor() {
super();
Expand Down

0 comments on commit a5ddbe4

Please sign in to comment.