From 3ed28633bd9c8e238d32a64dd5cfd0429a4678a4 Mon Sep 17 00:00:00 2001 From: Philip Turner Date: Sun, 26 Dec 2021 13:59:16 -0500 Subject: [PATCH] Add double-underscored keywords (indention is too corrupted to fix - a mess of tabs instead of spaces) --- src/basic-languages/swift/swift.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/basic-languages/swift/swift.ts b/src/basic-languages/swift/swift.ts index 9dc3a9f9..bba52aec 100644 --- a/src/basic-languages/swift/swift.ts +++ b/src/basic-languages/swift/swift.ts @@ -170,7 +170,10 @@ export const language = { 'weak', 'where', 'while', - 'willSet' + 'willSet', + + '__consuming', + '__owned' ], symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,