I am trying to add more keywords like ["AAA.AA.A", "BBB.BB.B", "CCC.CC.C"]
to the current language eg: javascript
. The language is dynamic based on what the user has selected. It can be javascript or python or sql etc…
I saw extendMode
as one of the solutions but not sure how to use it. I am working with react-codemirror2 .
Any help?