branch: master
commit d26ec7182471efcc631bac3c2be122cfcd0f3c4d
Merge: 46680da 7d6ab3c
Author: Dmitry Gutov <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #785 from ylectric/company-keywords/thrift-mode
company-keywords: Support thrift-mode
---
company-keywords.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/company-keywords.el b/company-keywords.el
index 414c7b0..92ff369 100644
--- a/company-keywords.el
+++ b/company-keywords.el
@@ -255,6 +255,12 @@
"otherwise" "quote" "return" "switch" "throw" "true" "try" "type"
"typealias" "using" "while"
)
+ ;; From https://github.com/apache/thrift/blob/master/contrib/thrift.el
+ (thrift-mode
+ "binary" "bool" "byte" "const" "double" "enum" "exception" "extends"
+ "i16" "i32" "i64" "include" "list" "map" "oneway" "optional" "required"
+ "service" "set" "string" "struct" "throws" "typedef" "void"
+ )
;; aliases
(js2-mode . javascript-mode)
(js2-jsx-mode . javascript-mode)