branch: elpa/evil-matchit
commit 69299108fd6b8f041b5206c27b790ffec52ee475
Author: Matthew Saffer <[email protected]>
Commit: GitHub <[email protected]>

    Add sig/end matching for ocaml
    
    sig/end is a form used in ocaml's module signature language.
    See https://caml.inria.fr/pub/docs/manual-ocaml/moduleexamples.html#sec19 
for more information about the syntax.
---
 evil-matchit-ocaml.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/evil-matchit-ocaml.el b/evil-matchit-ocaml.el
index 1ec48b39b7..3c2af0577f 100644
--- a/evil-matchit-ocaml.el
+++ b/evil-matchit-ocaml.el
@@ -1,5 +1,5 @@
 (defvar evilmi-ocaml-keywords
-  '((("struct" "begin" "object") ("end"))
+  '((("struct" "begin" "sig" "object") ("end"))
     (("if") ("then"))
     (("match") ("with"))
     (("match" "try") ("with"))
@@ -83,4 +83,4 @@
                        (evilmi-ocaml-go tag-info 1 direction))))
       (if new-point (goto-char new-point)))))
 
-(provide 'evil-matchit-ocaml)
\ No newline at end of file
+(provide 'evil-matchit-ocaml)

Reply via email to