moban
moban copied to clipboard
Remove extra modelines from included source files
The modeline on the output file should appear only once at the top of the file, and any subsequent modelines should be removed.
https://www.python.org/dev/peps/pep-0263/ https://wiki.python.org/moin/Vim
When templates include another template which has a modeline, multiple modelines may appear.
similar to your previous request to remove trailing newlines.
removing multiple mode lines should be a custom operation.
Similar to #38 , a plugin.