gabrielsimoes / cfparser.vim

A codeforces plugin ported from emacs plugin gnull/cfparser.
Do What The F*ck You Want To Public License
48 stars 10 forks source link

Changing the default compiler #10

Closed jakobkogler closed 6 years ago

jakobkogler commented 6 years ago

I already mentioned this in #9. But since the pull-request is already close, I'm afraid it will not get seen.

We should provide an option to change the compiler in the .vimrc. Currently you manually have to change the plugin if you want to use a different compiler. E.g. writing let g:cf_pl_by_ext['.cpp'] = g:cf_pl_gpp14 or let g:cf_pl_ext['.cpp'] = 42 in the .vimrc doesn't work, since the the plugin loads after the .vimrc and overwrites the dict.

gabrielsimoes commented 6 years ago

Good idea. I added a way to change configuration at commits 39b76da75d63588ced5044834640dddc214d812a and bcaf5b509ccf16e6d9f4c098c69763b9e47427e6.