Modified config

This commit is contained in:
2023-08-22 15:06:00 +02:00
parent ce905b45fb
commit cbf8ed3cc7
7 changed files with 15 additions and 17 deletions

View File

@@ -3,17 +3,6 @@ local o = vim.o
local opt = vim.opt
local cmd = vim.cmd
local status, prefs = pcall(require, "taken.prefs")
if not status then
prefs = {}
end
if prefs.colorscheme == nil then
cmd("colorscheme default")
else
cmd("colorscheme " .. prefs.colorscheme)
end
local cursorcolumncolor = vim.fn.synIDattr(vim.fn.hlID("CursorColumn"), "bg")
cmd("hi CursorLine guibg=" .. cursorcolumncolor)

View File

@@ -1,5 +1,5 @@
require("taken.lazy")
require("taken.core")
require("taken.pluginloader")
require("taken.prefs")
-- vim.notify = require("notify")
vim.notify = require("notify")

2
lua/taken/lazy/init.lua Normal file
View File

@@ -0,0 +1,2 @@
require("taken.lazy.lazy")
require("taken.lazy.pluginloader")

View File

@@ -60,3 +60,10 @@ bufferline.setup {
},
}
}
vim.g.transparent_groups = vim.list_extend(
vim.g.transparent_groups or {},
vim.tbl_map(function(v)
return v.hl_group
end, vim.tbl_values(require('bufferline.config').highlights))
)

View File

@@ -1,5 +1,5 @@
local M = {}
local M = {
colorscheme = "catppuccin-mocha"
}
M.colorscheme = "onedark_vivid"
return M
vim.cmd("colorscheme " .. M.colorscheme)