1. Frederic De Groef
  2. ogre-material-mode

Commits

Frederic De Groef  committed 0832ed1

associate with .program files

  • Participants
  • Parent commits 77115b6
  • Branches default

Comments (0)

Files changed (1)

File ogre-material-mode.el

View file
 
 
 (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)
          )))