]> git.wh0rd.org Git - nano.git/commitdiff
Normalizing the comments in the OCaml file.
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 30 Dec 2015 20:57:31 +0000 (20:57 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Wed, 30 Dec 2015 20:57:31 +0000 (20:57 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5515 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/ocaml.nanorc

index bafff506aa7fb25ad6239465ecc5128d3c678927..b3d9ac251ec6505613b1cf54dad021b8b14ede63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
        * src/nano.c (main), src/files.c (open_buffer): Don't try to position
        the cursor when opening a buffer failed (because the user specified a
        directory, for example).  This fixes Savannah bug #46778.
+       * doc/syntax/ocaml.nanorc: Normalize the comments.
 
 2015-12-29  Benno Schulenberg  <bensberg@justemail.net>
        * doc/syntax/{c,objc,asm}.nanorc: Disable the regex for multiline
index 8decb727d4644896682f8a3637fbd4c343c99da2..5806c67cf330533ba876f89d329be42dc89cd0c0 100644 (file)
@@ -2,27 +2,27 @@
 
 syntax "ocaml" "\.mli?$"
 
-#uid
+# Uid:
 color red "\<[A-Z][0-9a-z_]{2,}\>"
-#declarations
+# Declarations:
 color green "\<(let|val|method|in|and|rec|private|virtual|constraint)\>"
-#structure items
+# Structure items:
 color red "\<(type|open|class|module|exception|external)\>"
-#patterns
+# Patterns:
 color blue "\<(fun|function|functor|match|try|with)\>"
-#patterns-modifiers
+# Pattern modifiers:
 color yellow "\<(as|when|of)\>"
-#conditions
+# Conditions:
 color cyan "\<(if|then|else)\>"
-#blocs
+# Blocks:
 color magenta "\<(begin|end|object|struct|sig|for|while|do|done|to|downto)\>"
-#constantes
+# Constants:
 color green "\<(true|false)\>"
-#modules/classes
+# Modules/classes:
 color green "\<(include|inherit|initializer)\>"
-#expr modifiers
+# Expression modifiers:
 color yellow "\<(new|ref|mutable|lazy|assert|raise)\>"
-#comments
+# Comments:
 color white start="\(\*" end="\*\)"
-#strings (no multiline handling yet)
+# Strings: (no multiline handling yet)
 color brightblack ""[^\"]*""