nvim-config/lua/plugins/theme.lua

39 lines
1.1 KiB
Lua
Raw Permalink Normal View History

2024-04-30 10:24:23 +00:00
return {
"Mofiqul/vscode.nvim",
name="vscode",
priority=1000,
config=function()
local c = require("vscode.colors").get_colors()
require("vscode").setup({
-- Alternatively set style in setup
-- style = 'light'
-- Enable transparent background
transparent = true,
-- Enable italic comment
italic_comments = true,
-- Underline `@markup.link.*` variants
underline_links = true,
-- Disable nvim-tree background color
disable_nvimtree_bg = true,
-- Override colors (see ./lua/vscode/colors.lua)
color_overrides = {
vscLineNumber = '#FFFFFF',
},
-- Override highlight groups (see ./lua/vscode/theme.lua)
group_overrides = {
-- this supports the same val table as vim.api.nvim_set_hl
-- use colors from this colorscheme by requiring vscode.colors!
Cursor = { fg=c.vscDarkBlue, bg=c.vscLightGreen, bold=true },
}
})
vim.cmd.colorscheme("vscode")
end
}