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 = {
|
const COMMAND = {
|
||||||
scope: 'command',
|
scope: 'command',
|
||||||
begin: /\/\w+/,
|
begin: /\/\S+/,
|
||||||
beginScope: 'title.function',
|
beginScope: 'title.function',
|
||||||
end: /\||$|:}/,
|
end: /\||$|:}/,
|
||||||
contains: [], // defined later
|
contains: [], // defined later
|
||||||
|
Reference in New Issue
Block a user