p00f / cphelper.nvim

Neovim helper for competitive programming. Use https://sr.ht/~p00f/cphelper.nvim instead
MIT License
133 stars 9 forks source link

Support custom compilation options #28

Closed clatisus closed 2 years ago

clatisus commented 2 years ago

Hi, I find it's very useful to add global variables for adding custom compilation options (e.g --std=c++17), how do you think?

If we agree it's a valid use case, I can compose a PR.

p00f commented 2 years ago

https://github.com/p00f/cphelper.nvim/blob/27f19bb5defc68200aa1894a78e814453d8136b9/doc/cphelper.txt#L74-L78

Are you thinking of something else?

clatisus commented 2 years ago

sorry didn't notice this one, it's exactly what I want! Thank you