branch: externals/company
commit 3c7c4a91e1f9026e392b17b09f19e8717c7a0c73
Author: TakesxiSximada <sxim...@gmail.com>
Commit: TakesxiSximada <sxim...@gmail.com>

    Add `async` and `await` as keywords for Python 3
    
    In Python 3, `async` and `await` were added as keywords starting from 
version 3.7.
    Therefore, I have added these keywords to `company-keywords.el`.
---
 company-keywords.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/company-keywords.el b/company-keywords.el
index 785a090e14..93b0552bee 100644
--- a/company-keywords.el
+++ b/company-keywords.el
@@ -292,10 +292,10 @@
      "then" "type" "where")
     (python-mode
      ;; https://docs.python.org/3/reference/lexical_analysis.html#keywords
-     "False" "None" "True" "and" "as" "assert" "break" "class" "continue" "def"
-     "del" "elif" "else" "except" "exec" "finally" "for" "from" "global" "if"
-     "import" "in" "is" "lambda" "nonlocal" "not" "or" "pass" "print" "raise"
-     "return" "try" "while" "with" "yield")
+     "False" "None" "True" "and" "as" "assert" "async" "await" "break" "class"
+     "continue" "def" "del" "elif" "else" "except" "exec" "finally" "for" 
"from"
+     "global" "if" "import" "in" "is" "lambda" "nonlocal" "not" "or" "pass"
+     "print" "raise" "return" "try" "while" "with" "yield")
     (ruby-mode
      "BEGIN" "END" "alias" "and"  "begin" "break" "case" "class" "def" 
"defined?"
      "do" "else" "elsif"  "end" "ensure" "false" "for" "if" "in" "module"

Reply via email to