From 44f0230fe14042d255e8cb0ff533b8b4544c09b9 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Mon, 2 Jul 2018 23:28:25 +0200 Subject: [PATCH] Add missing python3 keyword: nonlocal --- rc/core/python.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/python.kak b/rc/core/python.kak index f33fef24..da451413 100644 --- a/rc/core/python.kak +++ b/rc/core/python.kak @@ -87,7 +87,7 @@ add-highlighter shared/python/comment fill comment # Keyword list is collected using `keyword.kwlist` from `keyword` keywords="and|as|assert|break|class|continue|def|del|elif|else|except|exec" - keywords="${keywords}|finally|for|global|if|in|is|lambda|not|or|pass|print" + keywords="${keywords}|finally|for|global|if|in|is|lambda|nonlocal|not|or|pass|print" keywords="${keywords}|raise|return|try|while|with|yield" types="bool|buffer|bytearray|bytes|complex|dict|file|float|frozenset|int"