(keywords: string[])
| 34 | const cppcircle = $.extend(true, {}, cppp); // deep copy |
| 35 | |
| 36 | function addKeywords(keywords: string[]) { |
| 37 | // (Ruben) Done one by one as if you just push them all, Monaco complains that they're not strings, but as |
| 38 | // far as I can tell, they indeed are all strings. This somehow fixes it. If you know how to fix it, plz go |
| 39 | for (let i = 0; i < keywords.length; ++i) { |
| 40 | cppcircle.keywords.push(keywords[i]); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | addKeywords([ |
| 45 | '@array', |