I have multiple CodeMirror instances on a page, all of them have sql autocomplete function on. For one instance I’m looking for an option to add (or remove) some custom keywords to that particular instance in addition to ‘built-in’ sql keywords.
I read SO discussion and the proposed solution worked, but those custom keywords are of course applied to all CodeMirror instances. Is there any way to add them only to a particular instance?
Thanks for a suggestions!