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
This commit is contained in:
siduck 2022-02-14 16:15:39 +05:30
parent f81531df42
commit d9d380e41b
2 changed files with 2 additions and 20 deletions

View File

@ -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 = {} local M = {}
@ -6,18 +6,7 @@ local M = {}
-- example of changing theme: -- example of changing theme:
M.ui = { 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 return M

View File

@ -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" },
}