Files
DotFiles/nvim/lua/plugins/colortheme.lua
T
2026-05-18 23:18:07 +02:00

52 lines
1.2 KiB
Lua

return {
"Mofiqul/vscode.nvim",
lazy = false,
priority = 1000,
config = function()
-- Lua:
-- For dark theme (neovim's default)
vim.o.background = "dark"
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,
-- Enable italic inlay type hints
italic_inlayhints = true,
-- Underline `@markup.link.*` variants
underline_links = true,
-- Disable nvim-tree background color
disable_nvimtree_bg = true,
-- Apply theme colors to terminal
terminal_colors = false,
-- 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 },
CursorLine = { bg = c.vscTabOther },
},
})
-- require('vscode').load()
-- load the theme without affecting devicon colors.
vim.cmd.colorscheme("vscode")
end,
}