mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-22 09:29:48 +01:00
110 lines
2.7 KiB
Lua
110 lines
2.7 KiB
Lua
return {
|
|
{
|
|
"shaunsingh/nord.nvim",
|
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
|
cond = function()
|
|
if os.getenv("GTK_THEME") == "Nordic" then
|
|
return true
|
|
else
|
|
return false
|
|
end
|
|
end,
|
|
priority = 1000, -- make sure to load this before all the other start plugins
|
|
config = function()
|
|
vim.g.nord_contrast = false
|
|
vim.g.nord_borders = true
|
|
vim.g.nord_disable_background = false
|
|
vim.g.nord_italic = true
|
|
vim.g.nord_uniform_diff_background = true
|
|
vim.g.nord_enable_sidebar_background = true
|
|
vim.g.nord_bold = true
|
|
vim.g.nord_cursorline_transparent = false
|
|
require("nord").set()
|
|
end,
|
|
},
|
|
{
|
|
"catppuccin/nvim",
|
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
|
name = "catppuccin",
|
|
priority = 1000, -- make sure to load this before all the other start plugins
|
|
cond = function()
|
|
if
|
|
os.getenv("GTK_THEME") == "Catppuccin-Frappe-Pink"
|
|
or os.getenv("GTK_THEME") == "Catppuccin-Latte-Green"
|
|
then
|
|
return true
|
|
else
|
|
return false
|
|
end
|
|
end,
|
|
config = function()
|
|
require("catppuccin").setup({
|
|
compile_path = vim.fn.stdpath("cache") .. "/catppuccin",
|
|
transparent_background = true,
|
|
term_colors = true,
|
|
dim_inactive = {
|
|
enabled = false,
|
|
shade = "dark",
|
|
percentage = 0.15,
|
|
},
|
|
styles = {
|
|
comments = { "italic" },
|
|
conditionals = { "italic" },
|
|
loops = {},
|
|
functions = {},
|
|
keywords = {},
|
|
strings = {},
|
|
variables = {},
|
|
numbers = {},
|
|
booleans = {},
|
|
properties = {},
|
|
types = {},
|
|
operators = {},
|
|
},
|
|
integrations = {
|
|
cmp = true,
|
|
gitsigns = true,
|
|
nvimtree = true,
|
|
telescope = true,
|
|
treesitter = true,
|
|
ts_rainbow = true,
|
|
lsp_saga = true,
|
|
lsp_trouble = true,
|
|
dap = {
|
|
enable = true,
|
|
enable_ui = true,
|
|
},
|
|
native_lsp = {
|
|
enabled = true,
|
|
virtual_text = {
|
|
errors = { "italic" },
|
|
hints = { "italic" },
|
|
warnings = { "italic" },
|
|
information = { "italic" },
|
|
},
|
|
underlines = {
|
|
errors = { "underline" },
|
|
hints = { "underline" },
|
|
warnings = { "underline" },
|
|
information = { "underline" },
|
|
},
|
|
},
|
|
indent_blankline = {
|
|
enabled = true,
|
|
colored_indent_levels = false,
|
|
},
|
|
|
|
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
|
|
},
|
|
color_overrides = {},
|
|
custom_highlights = {},
|
|
})
|
|
if os.getenv("GTK_THEME") == "Catppuccin-Frappe-Pink" then
|
|
vim.cmd([[colorscheme catppuccin-frappe ]])
|
|
else
|
|
vim.cmd([[colorscheme catppuccin-latte ]])
|
|
end
|
|
end,
|
|
},
|
|
}
|