Zeioth/compiler.nvim

Meson integration

Closed this issue · 2 comments

Would be really cool if this plugin could find meson.build and use it.

Zeioth commented

@speediegq Added to the roadmap, thank you for reporting.

In case you are in a hurry and want to send a PR yourself, you only need to touch the files:

  • lua/compiler/utils-bau.lua → Implement a parser function that parse the options defined in your meson file. Then call it at the end of the function M.get_bau_opts().
  • lua/compiler/bau/meson.lua → Here you implement what happens when a user select one of the options defined in your meson file. You can take ./cmake.lua as reference.

Otherwise expect it at some point during this month probably. This week I'm working on the new plugin distroupdate.nvim.

Added in b34e79d