refactor: move logical operators to normalCBSwithParams in highlight.ts

This commit is contained in:
kwaroran
2024-06-10 22:07:59 +09:00
parent 5e0104a735
commit b19074237d

View File

@@ -96,7 +96,8 @@ const normalCBSwithParams = [
'previous_chat_log', 'tonumber', 'arrayelement', 'array_element', 'arrayshift', 'array_shift',
'arraypop', 'array_pop', 'arraypush', 'array_push', 'arraysplice', 'array_splice',
'makearray', 'array', 'a', 'make_array', 'history', 'messages', 'range', 'date', 'time', 'datetimeformat', 'date_time_format',
'random', 'pick', 'roll', 'datetimeformat', 'hidden_key', 'reverse', 'getglobalvar', 'position', 'slot', 'rollp'
'random', 'pick', 'roll', 'datetimeformat', 'hidden_key', 'reverse', 'getglobalvar', 'position', 'slot', 'rollp',
'and', 'or', 'not',
]
const displayRelatedCBS = [
@@ -112,7 +113,7 @@ const deprecatedCBS = [
]
const deprecatedCBSwithParams = [
'greater', 'less', 'greater_equal', 'less_equal', 'and', 'or', 'not', 'remaind', 'pow'
'greater', 'less', 'greater_equal', 'less_equal', 'remaind', 'pow'
]
const decorators = [