Open CRAG666 opened 6 months ago
how do you manage project? for example, looking at .git/config and extract repository name? or set up projectname with "string"?
If a template can be set for each project, how would you like it set?
Only the entire structure of a project is created when it is executed, for example: TemplateProject .netApi
I made it like this, what do you think? 'https://github.com/mizuirorivi/template.nvim' you must install 'notjedi/nvim-rooter.lua' in order to use this plugin Because I used this plugin to recognize the project root I can't decide if I can use another plugin or if it should be implemented internally Since we are using telescope, we have decided that we can use other plugins as dependent libraries
I wrote how to set it up in 'doc/'. Configuration.
vim.g.is_project_template = true
If you set vim.g.is_project_template = true
This will create a directory called '.template' directly under the project root, which will be loaded
This is exactly the same as the existing usage.
The template will be merged with the existing template.
Want to display only the templates for your project?
How to create a template for a project