Moved small function to theme switcher and setting
This commit is contained in:
@@ -46,6 +46,9 @@ function M.themeselector()
|
||||
vim.cmd("colorscheme " .. choice)
|
||||
local newstring = 'M.colorscheme = "' .. choice .. '"'
|
||||
change_theme(oldstring, newstring)
|
||||
|
||||
local cursorcolumncolor = vim.fn.synIDattr(vim.fn.hlID("CursorColumn"), "bg")
|
||||
vim.cmd("hi CursorLine guibg=" .. cursorcolumncolor)
|
||||
end
|
||||
|
||||
vim.ui.select(themes, opts, exec)
|
||||
|
||||
Reference in New Issue
Block a user