From 51760c21f5a54ec4fd5b1e025a48267462c6daa2 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Wed, 18 Aug 2021 11:10:13 +0530 Subject: [PATCH] Add important notes for user , default config --- lua/chadrc.lua | 4 +++- lua/default_config.lua | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/chadrc.lua b/lua/chadrc.lua index 17981d2..0e32766 100644 --- a/lua/chadrc.lua +++ b/lua/chadrc.lua @@ -1,3 +1,5 @@ +-- IMPORTANT NOTE : This is user config + local M = {} M.ui = { @@ -139,6 +141,6 @@ M.mappings = { }, } -M = vim.tbl_deep_extend("force", require("default_config"), M) +M = vim.tbl_deep_extend("force", require "default_config", M) return M diff --git a/lua/default_config.lua b/lua/default_config.lua index 23d94dc..71f1dc9 100644 --- a/lua/default_config.lua +++ b/lua/default_config.lua @@ -1,3 +1,5 @@ +-- IMPORTANT NOTE : This is default config, so dont change anything here. (check chadrc.lua instead) + local M = {} M.ui = {