emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4fe0bec 57/66: Merge pull request #828 from chunzhouyu/mas


From: Dmitry Gutov
Subject: [elpa] master 4fe0bec 57/66: Merge pull request #828 from chunzhouyu/master
Date: Mon, 5 Nov 2018 18:19:23 -0500 (EST)

branch: master
commit 4fe0bec4974b4ad0575e758afb16b2029ce97d1f
Merge: 1c76850 ed8bf2a
Author: Dmitry Gutov <address@hidden>
Commit: GitHub <address@hidden>

    Merge pull request #828 from chunzhouyu/master
    
    add some golang's builtin funcitons to go-mode
---
 company-keywords.el | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/company-keywords.el b/company-keywords.el
index e321c17..971c44c 100644
--- a/company-keywords.el
+++ b/company-keywords.el
@@ -142,14 +142,15 @@
       "tiny" "transfer" "transpose" "trim" "true" "type" "ubound" "unpack"
       "use" "value" "verify" "volatile" "wait" "where" "while" "with" "write"))
     (go-mode
-     ;; From https://golang.org/ref/spec#Keywords
-     ;; Plus some basic types, for better programming experience.
-     "bool" "break" "case" "chan" "complex128" "complex64" "const" "continue"
-     "default" "defer" "else" "fallthrough" "float32" "float64"
-     "for" "func" "go" "goto" "if" "import" "int" "int16" "int32"
-     "int64" "int8" "interface" "map" "package" "range"
-     "return" "select" "string" "struct" "switch" "type"
-     "uint" "uint16" "uint32" "uint64" "uint8" "uintptr" "var")
+     ;; 1. Keywords ref: https://golang.org/ref/spec#Keywords
+     ;; 2. Builtin functions and types ref: https://golang.org/pkg/builtin/
+     "append" "bool" "break" "byte" "cap" "case" "chan" "close" "complex" 
"complex128"
+     "complex64" "const" "continue" "copy" "default" "defer" "delete" "else" 
"error"
+     "fallthrough" "float32" "float64" "for" "func" "go" "goto" "if" "imag"
+     "import" "int" "int16" "int32" "int64" "int8" "interface" "len" "make"
+     "map" "new" "package" "panic" "print" "println" "range" "real" "recover"
+     "return" "rune" "select" "string" "struct" "switch" "type" "uint" "uint16"
+     "uint32" "uint64" "uint8" "uintptr" "var")
     (java-mode
      "abstract" "assert" "boolean" "break" "byte" "case" "catch" "char" "class"
      "continue" "default" "do" "double" "else" "enum" "extends" "final"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]