Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Remove "Generated by" line #109

Closed
Leonidas-from-XIV opened this Issue Dec 1, 2012 · 0 comments

Comments

Projects
None yet
2 participants

I use this config

autocmd FileType coffee vmap <leader>c <esc>:'<,'>CoffeeCompile<CR>

so I can select subsets of my coffeescript file and compile it to JavaScript and see the result. Unfortunately, the CoffeeScript compiler introduced a // Generated by CoffeeScript X.Y.Z line at the beginning of the generated and there does not exist any option to turn that off (there is an issue for this).

As my snippets are rather short, this line annoys me quite a bit, because it does not add any value but fills one line with garbage. Could you change CoffeeCompile or add an option to it to strip out the first line if it is the "Generated by" line? Thanks!

@Leonidas-from-XIV Leonidas-from-XIV added a commit to Leonidas-from-XIV/vim-coffee-script that referenced this issue Jul 7, 2013

@Leonidas-from-XIV Leonidas-from-XIV Remove Generated-by line if it was generated
Closes #109
266bec0

@Leonidas-from-XIV Leonidas-from-XIV added a commit to Leonidas-from-XIV/vim-coffee-script that referenced this issue Jul 7, 2013

@Leonidas-from-XIV Leonidas-from-XIV Remove Generated-by line if it was generated
Closes #109
b5103e2

@kchmck kchmck closed this Aug 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment