-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding compilation flags #41
Comments
Try |
Thanks. However, If I want some compilation flags to be always enabled for certain type of file types only, how can I change the default behavior then? Is there any way, I can tweak or change the default compilation list for each filetype or define one for some of them which will always be executed with them. |
@vivekiitkgp You could try something like this: autocmd Filetype c nmap <buffer> <F9> :SCCompileAF --your-flags |
Thanks. It helps in a much better way. |
@vivekiitkgp I've added the solution to a wiki page. Feel free to modify it. And thanks for your report of this issue. |
Thanks for the fact that you added it the wiki page. I think I would love if you could change. After this option is set and I press the appropriate keys, the commands aren't run at once. Rather, it is placed in command area and one has to hit Enter to run it. So, I'm adding a |
Yeah I forgot that. Thanks @vivekiitkgp ! |
When compiling a cpp or c file, it executes with a basic default flags for compilation. Is there any way, I can add manual compilation flags to the input?
The text was updated successfully, but these errors were encountered: