ej-shafran / compile-mode.nvim

A plugin for Neovim inspired by Emacs' Compilation Mode
The Unlicense
50 stars 12 forks source link

Trigger compile if vim.g.compile_command is not set. #3

Closed X3eRo0 closed 10 months ago

X3eRo0 commented 10 months ago

Don't throw an error and trigger M.compile instead. Now you can just use Recompile for your compile-mode keybind.

ej-shafran commented 10 months ago

Hey! Thanks for contributing!

This is a neat idea - I'll add it as an option via setup({}), as I personally don't use the plugin this way. See #4.

X3eRo0 commented 10 months ago

That's a much better way to do it. Thanks.

ej-shafran commented 10 months ago

This is available as of version 2.2.0