Variable: neocaml-mode--keywords

neocaml-mode--keywords is a variable defined in neocaml.el.

Value

("and" "as" "assert" "begin" "class" "constraint" "do" "done" "downto"
 "effect" "else" "end" "exception" "external" "for" "fun" "function"
 "functor" "if" "in" "include" "inherit" "initializer" "lazy" "let"
 "match" "method" "module" "mutable" "new" "nonrec" "object" "of"
 "open" "private" "rec" "sig" "struct" "then" "to" "try" "type" "val"
 "virtual" "when" "while" "with")

Documentation

OCaml keywords for tree-sitter font-locking.

List taken directly from https://github.com/tree-sitter/tree-sitter-ocaml/blob/master/queries/highlights.scm.

Source Code

;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
;;;; Font-locking
;;
;;
;; See https://github.com/tree-sitter/tree-sitter-ocaml/blob/master/queries/highlights.scm
;;
;; Ideally the font-locking done by neocaml should be aligned with the upstream highlights.scm.

(defvar neocaml-mode--keywords
  '("and" "as" "assert" "begin" "class" "constraint" "do" "done" "downto" "effect"
    "else" "end" "exception" "external" "for" "fun" "function" "functor" "if" "in"
    "include" "inherit" "initializer" "lazy" "let" "match" "method" "module"
    "mutable" "new" "nonrec" "object" "of" "open" "private" "rec" "sig" "struct"
    "then" "to" "try" "type" "val" "virtual" "when" "while" "with")
  "OCaml keywords for tree-sitter font-locking.

List taken directly from https://github.com/tree-sitter/tree-sitter-ocaml/blob/master/queries/highlights.scm.")