Tip 11 | Switching Compilers |
In the previous tip, you learned how to build a project by selecting an appropriate compiler plugin then using the :make command. In a real project, things may not be so simple. You might have several different ways of building the project, depending on whether you are targeting a development or production environment. You might have other build-like tasks, such as linting your files or running your test suite. If you want to use the :make command for various different tasks, you’re going to have to switch between compiler plugins.
Preparation
This tip builds on top of the material from the previous tip. Follow the steps from the Preparation section in that tip to install the Dispatch plugin and set up the demo project. ...
Get Modern Vim now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.