Skip to content

feat: support CUDA highlight

dvorak chen requested to merge (removed):master into master

the CodeEditor not supporting CUDA code highlight, but we can use c++ style highlight to render it.

function lang2Lang will convert a language that CodeEditor not support to another language that actually rendering, example, CUDA not support, use lang2Lang convert to cpp, then CodeEdidor will highlight it as cpp

  • add function lang2Lang at utils.ts
  • add fake-data for CUDA

Merge request reports

Loading