nvim-config/lua/plugins/theme.lua
2024-04-30 11:24:23 +01:00

39 lines
1.1 KiB
Lua

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
}