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:
parent
f81531df42
commit
d9d380e41b
|
@ -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
|
||||||
|
|
|
@ -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" },
|
|
||||||
}
|
|
Loading…
Reference in New Issue