Skip to content
New issue

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

How to override plugin native CMakeLists.txt.etlua template #292

Open
serendipitywgy opened this issue Jan 22, 2025 · 0 comments
Open

How to override plugin native CMakeLists.txt.etlua template #292

serendipitywgy opened this issue Jan 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@serendipitywgy
Copy link

Describe the problem or limitation you are having

Hello, this plugin is great. I am trying to find out how to customize the template file without changing the plugin's native template file.
Describe the solution you'd like

Currently I can only use custom templates by changing the contents of ~/.local/share/nvim/lazy/cmake-tools.nvim/lua/cmake-tools/quickstart/templates/exec/cpp/CMakeLists.txt.etlua.

Can I customize CMakeLists.txt.etlua and main.lua in the configuration file and override the plugin's native templates without modifying the plugin itself?
I like CMakeQuickStart but would like to be able to use my own templates.
Describe alternatives you've considered

Additional context
I use lazyvim

@serendipitywgy serendipitywgy added the enhancement New feature or request label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant