akvelon / flutter-code-editor

Flutter Code Editor is a multi-platform code editor supporting syntax highlighting, code blocks folding, autocompletion, read-only code blocks, hiding specific code blocks, themes, and more.

Home Page:https://akvelon.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i add a not exist language

i-xiao-zi opened this issue · comments

i have a language not exists in the language lists, how can i import my language mode to my project.

i try like this, but its not right

  late CodeController _controller;
  @override
  void initState(){
    super.initState();
    highlight.registerLanguage('hello', hello);
    _controller = CodeController(
      text: '#abc',
      language: hello,
    );
  }