Commits

Frederic De Groef committed 0832ed1

associate with .program files

Comments (0)

Files changed (1)

ogre-material-mode.el

 
 
 (add-to-list 'auto-mode-alist '("\\.material\\'" . ogre-material-mode))
-
+(add-to-list 'auto-mode-alist '("\\.program\\'" . ogre-material-mode))
 
 (let* (;; section names
        (ogre-material-section-names
          '("\\(\\([[:blank:]]+[0-9]+\\)\\(\\.\\([0-9]+\\)\\)?\\)" 1 font-lock-constant-face)
 	     
 	     ;; comment
-		 '("^\\([[:blank:]]*\\)\\(//\\).*" 1 font-lock-comment-face)
+		 '("^\\([[:blank:]]\\)*//.*$" 1 font-lock-comment-face)
          )))