We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
小彭老师好~
最近我在使用您的 nvim 配置,阅读 QEMU 代码,不过现在qemu 使用 meson 构建代码,好像不能像 readme 给出的 cmake 那样配置 nvim 的项目代码补全。
您知道有什么方法,或者插件,来支持 meson 构建的C/C++项目嘛
The text was updated successfully, but these errors were encountered:
无论什么构建系统,只要能生成build/compile_commands.json,就能智能补全。 cmake是通过-DCMAKE_EXPORT_COMPILE_COMMANDS=ON就能生成这个文件。 我没用过meson,请自行查阅meson文档或询问gpt。 如果他们没有支持,那就不能支持meson智能补全,或者你只能手动书写compile_commands.json。 相关issue:mesonbuild/meson#3545
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
Sorry, something went wrong.
No branches or pull requests
小彭老师好~
最近我在使用您的 nvim 配置,阅读 QEMU 代码,不过现在qemu 使用 meson 构建代码,好像不能像 readme 给出的 cmake 那样配置 nvim 的项目代码补全。
您知道有什么方法,或者插件,来支持 meson 构建的C/C++项目嘛
The text was updated successfully, but these errors were encountered: