From d9d380e41b110ef920661bcc8d50a8b4acb2b941 Mon Sep 17 00:00:00 2001 From: siduck Date: Mon, 14 Feb 2022 16:15:39 +0530 Subject: [PATCH] clean example chadrc Some of the recent issues have been caused when the user doesnt even have the custom.plugins file and requires it in chadrc i.e copies the example chadrc as it is without reading it, that results in chadrc not working at all --- examples/chadrc.lua | 15 ++------------- examples/plugins.lua | 7 ------- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 examples/plugins.lua diff --git a/examples/chadrc.lua b/examples/chadrc.lua index a0f135d..6aa2521 100644 --- a/examples/chadrc.lua +++ b/examples/chadrc.lua @@ -1,4 +1,4 @@ --- This is an example chadrc file , its supposed to be placed in /lua/custom/ +-- Just an example, supposed to be placed in /lua/custom/ local M = {} @@ -6,18 +6,7 @@ local M = {} -- example of changing theme: M.ui = { - theme = "onedark", + theme = "gruvchad", } --- Install plugins -local userPlugins = require "custom.plugins" -- path to table - -M.plugins = { - install = userPlugins, -} - --- NOTE: we heavily suggest using Packer's lazy loading (with the 'event','cmd' fields) --- see: https://github.com/wbthomason/packer.nvim --- https://nvchad.github.io/config/walkthrough - return M diff --git a/examples/plugins.lua b/examples/plugins.lua deleted file mode 100644 index 0e0b0c9..0000000 --- a/examples/plugins.lua +++ /dev/null @@ -1,7 +0,0 @@ --- Example plugins file! --- (suggestion) -> lua/custom/plugins/init.lua or anywhere in custom dir - -return { - { "elkowar/yuck.vim", ft = "yuck" }, - { "ellisonleao/glow.nvim", cmd = "Glow" }, -}