[1/4] Refactor: plugins: Add seperate config for each plugins
first commit of Refactor handle require errors move config from other places to proper files don't create a pseudo config function for no reason https://github.com/siduck76/NvChad/pull/156#issuecomment-881453546
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
local global_theme = "themes/" .. vim.g.nvchad_theme
|
||||
local colors = require(global_theme)
|
||||
|
||||
require "bufferline".setup {
|
||||
local bufferline
|
||||
if
|
||||
not pcall(
|
||||
function()
|
||||
bufferline = require "bufferline"
|
||||
end
|
||||
)
|
||||
then
|
||||
return
|
||||
end
|
||||
|
||||
bufferline.setup {
|
||||
options = {
|
||||
offsets = {{filetype = "NvimTree", text = "", padding = 1}},
|
||||
buffer_close_icon = "",
|
||||
|
||||
Reference in New Issue
Block a user