1
Fork 0

Move neovim dotfiles

This commit is contained in:
Matei Adriel 2023-12-02 00:59:18 +01:00
parent bfc89aff7f
commit a5eae4da13
No known key found for this signature in database
78 changed files with 3 additions and 5 deletions
home/features/neovim/config/lua/my/plugins/themes

View file

@ -0,0 +1,30 @@
local H = require("my.plugins.themes.helpers")
local T = require("nix.theme")
local M = {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
enabled = H.theme_contains("Catppuccin"),
}
function M.config()
local catppuccin = require("catppuccin")
vim.g.catppuccin_flavour = H.variant("Catppuccin")
catppuccin.setup({
transparent_background = T.transparency.enable,
integrations = { nvimtree = true, telescope = true },
})
vim.cmd([[highlight NotifyINFOIcon guifg=#d6b20f]])
vim.cmd([[highlight NotifyINFOTitle guifg=#d6b20f]])
vim.cmd("colorscheme catppuccin")
if T.transparency.enable then
vim.cmd([[highlight FloatBorder blend=0]])
end
end
return M