idanarye / vim-omnipytent

The all powerful Pythonic task runner
http://www.vim.org/scripts/script.php?script_id=5432
10 stars 0 forks source link

Feature: Allow custom templates #13

Open lervag opened 5 years ago

lervag commented 5 years ago

Having the templates are very useful, but I would be happy if I could customize them. In particular, I would want to customize the header to add some pylint flags and possible extra default imports.

E.g., one could add an option g:omnipytent_taskfile_header = <filename>, where the content of filename is used.

idanarye commented 5 years ago

:+1: I usually use cookiecutter templates to generate my project directories, but I do see how this can improve things.