Emacs: flex+Bison.
parent
a83de20153
commit
593d3fdf0f
|
@ -26,12 +26,19 @@
|
|||
;; Mutt support.
|
||||
(setq auto-mode-alist (append '(("/tmp/mutt.*" . mail-mode)) auto-mode-alist))
|
||||
|
||||
;; Arch Linux PKGBUILD
|
||||
;; Arch Linux PKGBUILD.
|
||||
(setq auto-mode-alist (append '(("PKGBUILD" . sh-mode)) auto-mode-alist))
|
||||
|
||||
;; README files.
|
||||
(setq auto-mode-alist (append '(("README" . text-mode)) auto-mode-alist))
|
||||
|
||||
;; Lex/Flex + Yacc/Bison mode.
|
||||
(setq auto-mode-alist (append '(("\\.l\\'" . flex-mode)) auto-mode-alist))
|
||||
(setq auto-mode-alist (append '(("\\.yy?\\'" . bison-mode)) auto-mode-alist))
|
||||
|
||||
;; Subtitles support.
|
||||
(setq auto-mode-alist (append '(("\\.srt\\'" . text-mode)) auto-mode-alist))
|
||||
|
||||
;;==============================================================================
|
||||
;; Auto-Insert
|
||||
;;==============================================================================
|
||||
|
|
|
@ -147,6 +147,12 @@
|
|||
(if (require 'xclip nil t)
|
||||
(turn-on-xclip))
|
||||
|
||||
;;==============================================================================
|
||||
;; Bison
|
||||
;;==============================================================================
|
||||
(require 'bison-mode nil t)
|
||||
;;(autoload 'bison-mode "bison-mode.el")
|
||||
|
||||
;;==============================================================================
|
||||
;; Multiple-Cursors
|
||||
;;==============================================================================
|
||||
|
|
Loading…
Reference in New Issue