breaking change for option overriders | rm un-necessary things from config
Put all your options in custom/init.lua
This commit is contained in:
		
							parent
							
								
									6f0aa376a8
								
							
						
					
					
						commit
						6a789fa37d
					
				
					 3 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -3,9 +3,6 @@
 | 
			
		|||
local M = {}
 | 
			
		||||
 | 
			
		||||
M.options = {
 | 
			
		||||
  -- load your options here or load module with options
 | 
			
		||||
  user = function() end,
 | 
			
		||||
 | 
			
		||||
  nvChad = {
 | 
			
		||||
    update_url = "https://github.com/NvChad/NvChad",
 | 
			
		||||
    update_branch = "main",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,6 +104,3 @@ vim.schedule(function()
 | 
			
		|||
  vim.opt.shadafile = vim.fn.expand "$HOME" .. "/.local/share/nvim/shada/main.shada"
 | 
			
		||||
  vim.cmd [[ silent! rsh ]]
 | 
			
		||||
end)
 | 
			
		||||
 | 
			
		||||
-- load user options
 | 
			
		||||
config.options.user()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue