Update stuff
This commit is contained in:
@@ -64,7 +64,7 @@ function highlightSolstice(code) {
|
||||
const word = code.substring(i, end);
|
||||
|
||||
// Check what type of word it is
|
||||
if (['def', 'if', 'while', 'return', 'ground', 'puts', 'def', 'struct', 'new'].includes(word)) {
|
||||
if (['def', 'if', 'while', 'return', 'ground', 'puts', 'def', 'struct', 'new', 'use'].includes(word)) {
|
||||
result += `<span class="keyword">${word}</span>`;
|
||||
} else if (['input', 'print', 'println'].includes(word)) {
|
||||
result += `<span class="builtin">${word}</span>`;
|
||||
|
||||
Reference in New Issue
Block a user