branch: master commit 191fc0198e653d7ab95f90658535f20e7e8aab37 Merge: c280e64 ff295e8 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: GitHub <nore...@github.com>
Merge pull request #694 from ycz0926/master add golang keywords --- company-keywords.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/company-keywords.el b/company-keywords.el index bceb7f8..dd99a6c 100644 --- a/company-keywords.el +++ b/company-keywords.el @@ -212,6 +212,10 @@ "then" "true" "undef" "unless" "until" "when" "while" "yield") ;; From https://doc.rust-lang.org/grammar.html#keywords ;; but excluding unused reserved words: https://www.reddit.com/r/rust/comments/34fq0k/is_there_a_good_list_of_rusts_keywords/cqucvnj + (go-mode + "break" "case" "chan" "const" "continue" "default" "defer" "else" "fallthrough" + "for" "func" "go" "goto" "if" "import" "interface" "map" "package" "range" + "return" "select" "struct" "switch" "type" "var") (rust-mode "Self" "as" "box" "break" "const" "continue" "crate" "else" "enum" "extern"