Fiw-Gentoo-Dots/configs/neovim/files/.config/nvim/init.lua

26 lines
1.3 KiB
Lua

-- Colors
vim.opt.termguicolors = true
-- catppuccin is a plugin (not bundled with Neovim); fall back to the built-in dark theme
if not pcall(vim.cmd.colorscheme, "catppuccin-mocha") then
vim.o.background = "dark"
vim.cmd.colorscheme "default"
end
-- Transparent background
vim.api.nvim_set_hl(0, "Normal", { bg = "none", fg = "#E0D7FF" })
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none", fg = "#BFAAE0" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "FloatBorder", { fg = "#B388EB", bg = "none" })
vim.api.nvim_set_hl(0, "LineNr", { fg = "#7A6FAF", bg = "none" })
vim.api.nvim_set_hl(0, "CursorLineNr", { fg = "#CBA6F7", bold = true })
vim.api.nvim_set_hl(0, "Visual", { bg = "#2A1E3D" })
vim.api.nvim_set_hl(0, "Comment", { fg = "#7A6FAF", italic = true })
vim.api.nvim_set_hl(0, "String", { fg = "#E0B0FF" })
vim.api.nvim_set_hl(0, "Keyword", { fg = "#CBA6F7", bold = true })
vim.api.nvim_set_hl(0, "Function", { fg = "#B388EB" })
vim.api.nvim_set_hl(0, "Type", { fg = "#CBA6F7" })
vim.api.nvim_set_hl(0, "CursorLine", { bg = "#2A1E3D" })
vim.api.nvim_set_hl(0, "StatusLine", { fg = "#B388EB", bg = "none" })
vim.api.nvim_set_hl(0, "SignColumn", { bg = "none" })
vim.api.nvim_set_hl(0, "EndOfBuffer", { bg = "none", fg = "#1A1423" })