mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
use non-whitespace for command names
This commit is contained in:
@ -65,7 +65,7 @@ export class SlashCommandParser {
|
||||
|
||||
const COMMAND = {
|
||||
scope: 'command',
|
||||
begin: /\/\w+/,
|
||||
begin: /\/\S+/,
|
||||
beginScope: 'title.function',
|
||||
end: /\||$|:}/,
|
||||
contains: [], // defined later
|
||||
|
Reference in New Issue
Block a user