From 6a789fa37df1deecaefd18337ab84aef331b5095 Mon Sep 17 00:00:00 2001
From: siduck <siduck@tutanota.com>
Date: Sun, 24 Jul 2022 07:35:12 +0000
Subject: [PATCH] breaking change for option overriders | rm un-necessary
 things from config

Put all your options in custom/init.lua
---
 examples/init.lua           | 4 ++--
 lua/core/default_config.lua | 3 ---
 lua/core/options.lua        | 3 ---
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/examples/init.lua b/examples/init.lua
index 809432d..3dccbd2 100644
--- a/examples/init.lua
+++ b/examples/init.lua
@@ -1,3 +1,3 @@
 -- example file i.e lua/custom/init.lua
-
--- load your globals, autocmds here or anything .__.
+-- load your options globals, autocmds here or anything .__.
+-- you can even override default options here (core/options.lua)
diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua
index 755a134..43ece40 100644
--- a/lua/core/default_config.lua
+++ b/lua/core/default_config.lua
@@ -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",
diff --git a/lua/core/options.lua b/lua/core/options.lua
index 793d483..b2dbdbf 100644
--- a/lua/core/options.lua
+++ b/lua/core/options.lua
@@ -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()