Add nvim config
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
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,
|
||||
}
|
||||
Reference in New Issue
Block a user