feat: add Space to symbol list

This commit is contained in:
Spencer Gouw 2023-09-23 17:12:31 -05:00
parent 6b6787a552
commit 7e1c6f7954

View file

@ -4,6 +4,7 @@ export enum Symbol {
// on parse
Newline = "%\\n",
Tab = "%\\t",
Space = "%\\s",
// on replace
CursorEnd = "%\\e",
}
@ -12,6 +13,7 @@ export namespace Symbol {
const REPLACEABLE: Record<string, string> = {
[Symbol.Newline]: "\n",
[Symbol.Tab]: "\t",
[Symbol.Space]: " ",
};
// const ON_REPLACE: Record<string, string> = {
// [Symbol.CursorEnd]: "",