yabab-dev / ng2-codemirror

Angular2 CodeMirror component
MIT License
70 stars 30 forks source link

keyword highlighting ,configuration mode #19

Closed qiaomingxing closed 7 years ago

qiaomingxing commented 7 years ago

Hello, I want to use keyword highlighting When I enter sql statement, configuration mode does not work?

yabab-dev commented 7 years ago

Hi, I've added Go mode on demo : https://embed.plnkr.co/8e9gxss9u10VeFrv29Zt/

Dont forget to import your mode :

import 'codemirror/mode/go/go'