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

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

[elpa] externals/company f0fee2c59d 3/3: Merge pull request #1438 from G


From: ELPA Syncer
Subject: [elpa] externals/company f0fee2c59d 3/3: Merge pull request #1438 from Guyslain/master
Date: Thu, 7 Dec 2023 09:57:32 -0500 (EST)

branch: externals/company
commit f0fee2c59de4642f4c8a782734f24dfcf25c0a3a
Merge: 7bcffac8f8 ccb4a197e6
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: GitHub <noreply@github.com>

    Merge pull request #1438 from Guyslain/master
    
    Update company-keywords.el with OCaml keywords
---
 company-keywords.el | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/company-keywords.el b/company-keywords.el
index c10eaa921b..872bea2b7d 100644
--- a/company-keywords.el
+++ b/company-keywords.el
@@ -403,7 +403,21 @@
      "i16" "i32" "i64" "include" "list" "map" "oneway" "optional" "required"
      "service" "set" "string" "struct" "throws" "typedef" "void"
      )
+    (tuareg-mode 
+     ;; ocaml, from https://v2.ocaml.org/manual/lex.html#sss:keywords
+     "and" "as" "asr" "assert" "begin" "class"
+     "constraint" "do" "done" "downto" "else" "end" 
+     "exception" "external" "false" "for" "fun" "function"
+     "functor" "if" "in" "include" "inherit" "initializer"
+     "land" "lazy" "let" "lor" "lsl" "lsr"
+     "lxor" "match" "method" "mod" "module" "mutable"
+     "new" "nonrec" "object" "of" "open" "or"
+     "private" "rec" "sig" "struct" "then" "to" 
+     "true" "try" "type" "val" "virtual" "when" 
+     "while" "with" 
+    )
     ;; aliases
+    (caml-mode . tuareg-mode)
     (js2-mode . javascript-mode)
     (js2-jsx-mode . javascript-mode)
     (espresso-mode . javascript-mode)



reply via email to

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