Moved small function to theme switcher and setting

This commit is contained in:
2023-09-22 23:00:58 +02:00
parent 65e0c68541
commit 1962b1f3e4
3 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
local prefs = require("taken.prefs")
vim.cmd("colorscheme " .. prefs.colorscheme)
local cursorcolumncolor = vim.fn.synIDattr(vim.fn.hlID("CursorColumn"), "bg")
vim.cmd("hi CursorLine guibg=" .. cursorcolumncolor)