[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d38d64b 20/38: Keyworks complete for c++-mode and c-mode
From: |
Dmitry Gutov |
Subject: |
[elpa] master d38d64b 20/38: Keyworks complete for c++-mode and c-mode |
Date: |
Sat, 25 Jul 2020 19:51:14 -0400 (EDT) |
branch: master
commit d38d64be44bc87c9cf5a827825203ed42a04716c
Author: condy <condy0919@gmail.com>
Commit: condy <condy0919@gmail.com>
Keyworks complete for c++-mode and c-mode
---
company-keywords.el | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
diff --git a/company-keywords.el b/company-keywords.el
index b6dfd1d..7cafb4c 100644
--- a/company-keywords.el
+++ b/company-keywords.el
@@ -35,22 +35,30 @@
(defvar company-keywords-alist
;; Please contribute corrections or additions.
`((c++-mode
- "alignas" "alignof" "asm" "auto" "bool" "break" "case" "catch" "char"
- "char16_t" "char32_t" "class" "const" "const_cast" "constexpr" "continue"
- "decltype" "default" "delete" "do" "double" "dynamic_cast" "else" "enum"
- "explicit" "export" "extern" "false" "final" "float" "for" "friend"
- "goto" "if" "inline" "int" "long" "mutable" "namespace" "new" "noexcept"
- "nullptr" "operator" "override"
- "private" "protected" "public" "register" "reinterpret_cast"
- "return" "short" "signed" "sizeof" "static" "static_assert"
- "static_cast" "struct" "switch" "template" "this" "thread_local"
- "throw" "true" "try" "typedef" "typeid" "typename"
- "union" "unsigned" "using" "virtual" "void" "volatile" "wchar_t" "while")
+ ;; from https://en.cppreference.com/w/cpp/keyword
+ "alignas" "alignof" "and" "and_eq" "asm" "atomic_cancel" "atomic_commit"
+ "atomic_noexcept" "auto" "bitand" "bitor" "bool" "break" "case" "catch"
+ "char" "char16_t" "char32_t" "char8_t" "class" "co_await" "co_return"
+ "co_yield" "compl" "concept" "const" "const_cast" "consteval" "constexpr"
+ "constinit" "continue" "decltype" "default" "delete" "do" "double"
+ "dynamic_cast" "else" "enum" "explicit" "export" "extern" "false" "final"
+ "float" "for" "friend" "goto" "if" "import" "inline" "int" "long" "module"
+ "mutable" "namespace" "new" "noexcept" "not" "not_eq" "nullptr" "operator"
+ "or" "or_eq" "override" "private" "protected" "public" "reflexpr"
"register"
+ "reinterpret_cast" "requires" "return" "short" "signed" "sizeof" "static"
+ "static_assert" "static_cast" "struct" "switch" "synchronized" "template"
+ "this" "thread_local" "throw" "true" "try" "typedef" "typeid" "typename"
+ "union" "unsigned" "using" "virtual" "void" "volatile" "wchar_t" "while"
+ "xor" "xor_eq")
(c-mode
+ ;; from https://en.cppreference.com/w/c/keyword
+ "_Alignas" "_Alignof" "_Atomic" "_Bool" "_Complex" "_Generic" "_Imaginary"
+ "_Noreturn" "_Static_assert" "_Thread_local"
"auto" "break" "case" "char" "const" "continue" "default" "do"
- "double" "else" "enum" "extern" "float" "for" "goto" "if" "int" "long"
- "register" "return" "short" "signed" "sizeof" "static" "struct"
- "switch" "typedef" "union" "unsigned" "void" "volatile" "while")
+ "double" "else" "enum" "extern" "float" "for" "goto" "if" "inline"
+ "int" "long" "register" "restrict" "return" "short" "signed" "sizeof"
+ "static" "struct" "switch" "typedef" "union" "unsigned" "void" "volatile"
+ "while")
(csharp-mode
"abstract" "add" "alias" "as" "base" "bool" "break" "byte" "case"
"catch" "char" "checked" "class" "const" "continue" "decimal" "default"
- [elpa] master e3d7d60 02/38: company-bbdb: Support more headers like From:, (continued)
- [elpa] master e3d7d60 02/38: company-bbdb: Support more headers like From:, Dmitry Gutov, 2020/07/25
- [elpa] master 94e22c4 03/38: Merge pull request #958 from OGAWAHirofumi/company-bbdb-add-more-header, Dmitry Gutov, 2020/07/25
- [elpa] master f275ee6 04/38: Fix Travis CI Build config, Dmitry Gutov, 2020/07/25
- [elpa] master 872b14c 05/38: add the docbuffer on company-yasnippet, Dmitry Gutov, 2020/07/25
- [elpa] master 32e535d 07/38: add syntax highlight, Dmitry Gutov, 2020/07/25
- [elpa] master e585f63 08/38: Merge pull request #963 from tsuu32/fix/travis-ci, Dmitry Gutov, 2020/07/25
- [elpa] master 3262c18 09/38: use symbol-value to get major-mode value, Dmitry Gutov, 2020/07/25
- [elpa] master 033358c 11/38: Merge pull request #965 from taigacute/master, Dmitry Gutov, 2020/07/25
- [elpa] master 04d3766 14/38: config the company-yasnippet-doc buffer-file-name, Dmitry Gutov, 2020/07/25
- [elpa] master e25c459 18/38: let-bind buffer-file-name instead of setting it, Dmitry Gutov, 2020/07/25
- [elpa] master d38d64b 20/38: Keyworks complete for c++-mode and c-mode,
Dmitry Gutov <=
- [elpa] master b9b0577 22/38: Make company-auto-complete condition more reliable, Dmitry Gutov, 2020/07/25
- [elpa] master 56a846c 25/38: Add a NEWS entry, Dmitry Gutov, 2020/07/25
- [elpa] master 6cf5169 23/38: Update copyright years, Dmitry Gutov, 2020/07/25
- [elpa] master c59c85b 24/38: Merge branch 'master' into company-tng-with-post-completion, Dmitry Gutov, 2020/07/25
- [elpa] master e93b3dc 30/38: [company-files] Make post-completion command a dedicated function, Dmitry Gutov, 2020/07/25
- [elpa] master 1c7a872 31/38: Merge pull request #983 from qhuyduong/make-post-completion-command-dedicated-function, Dmitry Gutov, 2020/07/25
- [elpa] master 6a39f31 38/38: Merge commit '656ad10670512e135a0a5881f127bb7a789ef8ca' from company, Dmitry Gutov, 2020/07/25
- [elpa] master 955f80e 19/38: company-doc-buffer: Make sure to reset the major mode, Dmitry Gutov, 2020/07/25
- [elpa] master db0596b 26/38: Merge branch 'master' of github.com:company-mode/company-mode, Dmitry Gutov, 2020/07/25
- [elpa] master 1f56bec 36/38: company-diag: Print out completion-at-point-functions too, Dmitry Gutov, 2020/07/25