(require 'poly-c)

;; C
(add-to-list 'auto-mode-alist '("\\.nw$" . poly-noweb+c-mode))
;;; MARKDOWN
(add-to-list 'auto-mode-alist '("\\.md" . poly-markdown-mode))
;;; R modes
(add-to-list 'auto-mode-alist '("\\.Rmd" . poly-markdown+r-mode))
(add-to-list 'polymode-mode-name-override-alist '(javascript . js2-mode))

(provide 'polymode-configuration)
