moban icon indicating copy to clipboard operation
moban copied to clipboard

Remove extra modelines from included source files

Open jayvdb opened this issue 7 years ago • 3 comments

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.

jayvdb avatar Jun 05 '18 09:06 jayvdb

similar to your previous request to remove trailing newlines.

chfw avatar Jun 05 '18 21:06 chfw

removing multiple mode lines should be a custom operation.

chfw avatar Jul 15 '18 08:07 chfw

Similar to #38 , a plugin.

jayvdb avatar Jan 24 '19 06:01 jayvdb