CRAG666 / code_runner.nvim

Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
MIT License
539 stars 38 forks source link

C++ not configured but my main.cpp is compiling and running #85

Closed VvSsNPk closed 11 months ago

VvSsNPk commented 1 year ago

I installed the plugin and configured it for java , python, Javscript and rust as shown in the example config. I also put the shortcut key for running the code. I wanted to run c++ code so i wanted to configure this plugin but i didnot configure it instead i downloaded another cmake plugin. I didnot bind the cmake plugin though just installed it. Now when i open main.cpp file and do the shortcut for coderunner it runs my c++ code. How is this possible ?

saccarosium commented 1 year ago

Because the plugin has already some preconfigured command for specific filetypes, if the user doesn't define them. Take a look at /lua/code_runner/options.lua to see what's there by default.