[gtksourceview] python3.lang: Add 'async' and 'await' to keywords
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] python3.lang: Add 'async' and 'await' to keywords
- Date: Sat, 27 Feb 2016 12:41:43 +0000 (UTC)
commit 7d5f005ecf81cff35109ca51f7c94d4f6cc4ab2d
Author: Tobias Schönberg <tobias47n9e gmail com>
Date: Sun Feb 14 13:15:39 2016 +0100
python3.lang: Add 'async' and 'await' to keywords
Python 3.5 has added two new keywords to the language
defined in PEP-0492. The words are currently not
highlighted. This patch adds 'async' and 'await' to
the list of keywords.
https://bugzilla.gnome.org/show_bug.cgi?id=762026
data/language-specs/python3.lang | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/language-specs/python3.lang b/data/language-specs/python3.lang
index 8c99a69..7f22edc 100644
--- a/data/language-specs/python3.lang
+++ b/data/language-specs/python3.lang
@@ -163,6 +163,8 @@
<context ref="python:keywords"/>
<context id="3x-only-keywords" style-ref="keyword">
+ <keyword>async</keyword>
+ <keyword>await</keyword>
<keyword>nonlocal</keyword>
</context>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]