emacs sisu-mode.el, syntax highlighting match https
authorRalph Amissah <ralph.amissah@gmail.com>
Tue, 14 Apr 2020 15:12:02 +0000 (11:12 -0400)
committerRalph Amissah <ralph.amissah@gmail.com>
Tue, 14 Apr 2020 15:12:34 +0000 (11:12 -0400)
data/sisu/conf/editor-syntax-etc/emacs/sisu-mode.el

index 6bfbb4baf5f43da9056d1c1ecff376ce17978cb9..d59dbe10cd34ec212ba0f23e5ca1621d5fe338b9 100644 (file)
       (cons "^_[0-9]_[0-9]! "          'sisu-general-font-lock-red1)
 
       ;; url
-      (cons "\\(^\\|[ ]\\)http:[/][/][^ \t\n\r<]+" 'sisu-general-font-lock-blue2)
+      (cons "\\(^\\|[ ]\\)https?:[/][/][^ \t\n\r<]+" 'sisu-general-font-lock-blue2)
 
       ;; Comment Lines
       (cons "^% .*"                     'sisu-general-font-lock-blue1)
         (concat
           "\\({~^\\|{\\)"
           "\\([^}{]+\\)"
-          "\\(}http:[/][/][^ \r\n\t<]+\\)"
+          "\\(}https?:[/][/][^ \r\n\t<]+\\)"
         )
         '(1 sisu-general-font-lock-blue2 t)
         '(2 sisu-general-font-lock-red1 t)