feat(bootstrap): indicate that no is the default answer
Indicates that the default answer would be *no* if the user provide any input other than `y`
This commit is contained in:
		
							parent
							
								
									ffdb4fc5e5
								
							
						
					
					
						commit
						800d066aab
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -48,7 +48,7 @@ end
 | 
			
		|||
M.gen_chadrc_template = function()
 | 
			
		||||
  if not vim.api.nvim_get_runtime_file("lua/custom/chadrc.lua", false)[1] then
 | 
			
		||||
    local path = vim.fn.stdpath "config" .. "/lua/custom/"
 | 
			
		||||
    local input = vim.fn.input "Do you want to install example custom config? (y/n) : "
 | 
			
		||||
    local input = vim.fn.input "Do you want to install example custom config? (y/N) : "
 | 
			
		||||
 | 
			
		||||
    if input == "y" then
 | 
			
		||||
      M.echo "cloning example custom config repo ..."
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue