Initial commit
This commit is contained in:
29
elpa/polymode-20170307.322/polymode-configuration.el
Normal file
29
elpa/polymode-20170307.322/polymode-configuration.el
Normal file
@@ -0,0 +1,29 @@
|
||||
;; Examples of polymode configuration. Choose what suits your needs and place
|
||||
;; into your .emacs file.
|
||||
|
||||
;;; MARKDOWN
|
||||
(add-to-list 'auto-mode-alist '("\\.md$" . poly-markdown-mode))
|
||||
|
||||
;;; ORG
|
||||
;; org is not working presently
|
||||
;; (add-to-list 'auto-mode-alist '("\\.org" . poly-org-mode))
|
||||
|
||||
;;; R related modes
|
||||
(add-to-list 'auto-mode-alist '("\\.Snw$" . poly-noweb+r-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.Rnw$" . poly-noweb+r-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.Rmd$" . poly-markdown+r-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.rapport$" . poly-rapport-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.Rhtml$" . poly-html+r-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.Rbrew$" . poly-brew+r-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.Rcpp$" . poly-r+c++-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.cppR$" . poly-c++r-mode))
|
||||
|
||||
;;; ERB modes
|
||||
(add-to-list 'auto-mode-alist '("\\.js.erb$" . poly-javascript+erb-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.coffee.erb$" . poly-coffee+erb-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.html.erb$" . poly-html+erb-mode))
|
||||
|
||||
;;; Slim mode
|
||||
(add-to-list 'auto-mode-alist '("\\.slim$" . poly-slim-mode))
|
||||
|
||||
(provide 'polymode-configuration)
|
||||
Reference in New Issue
Block a user