Modified config
This commit is contained in:
@@ -3,17 +3,6 @@ local o = vim.o
|
|||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local cmd = vim.cmd
|
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")
|
local cursorcolumncolor = vim.fn.synIDattr(vim.fn.hlID("CursorColumn"), "bg")
|
||||||
cmd("hi CursorLine guibg=" .. cursorcolumncolor)
|
cmd("hi CursorLine guibg=" .. cursorcolumncolor)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
require("taken.lazy")
|
require("taken.lazy")
|
||||||
require("taken.core")
|
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
2
lua/taken/lazy/init.lua
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
require("taken.lazy.lazy")
|
||||||
|
require("taken.lazy.pluginloader")
|
||||||
@@ -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))
|
||||||
|
)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
local M = {}
|
local M = {
|
||||||
|
colorscheme = "catppuccin-mocha"
|
||||||
|
}
|
||||||
|
|
||||||
M.colorscheme = "onedark_vivid"
|
vim.cmd("colorscheme " .. M.colorscheme)
|
||||||
|
|
||||||
return M
|
|
||||||
|
|||||||
Reference in New Issue
Block a user