polymode / poly-noweb

Polymode for noweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License GPL 3 MELPA MELPA Stable

This package provides poly-noweb-mode - a polymode for noweb.

The detection of the major mode in the noweb chunks is done in the following order:

  1. (lang-name) after the chunk head as per nw2md specification (e.g. <<name>>= (bash))
  2. short mode name preceded by a period (e.g. <<name.bash>>=)
  3. extension of the file name is looked in auto-mode-alist (e.g. <<name.cpp>>=)
  4. local value of noweb-code-mode (for compatibility with the original noweb-mode)
  5. local value of polymode-default-inner-mode
  6. fallback on poly-fallback-mode

About

Polymode for noweb


Languages

Language:Emacs Lisp 91.2%Language:Makefile 8.8%