Skip to content

Commit

Permalink
chore: update nixvim options
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Apr 13, 2024
1 parent eb53dc8 commit cda553b
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 65 deletions.
4 changes: 2 additions & 2 deletions core/neovim/theme.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ in {
enable = true;
package = catppuccin-git;

transparentBackground = !(isNull opacity || opacity == 1.0);
transparent_background = !(isNull opacity || opacity == 1.0);

colorOverrides.mocha = {
color_overrides.mocha = {
base = "#${palette.background}";
mantle = "#${palette.darkness}";
crust = "#${palette.void}";
Expand Down
138 changes: 76 additions & 62 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/desktop/apps/neovim/plugins/lsp/completion.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ in {

# Invert kinds
# credits: https://github.com/catppuccin/nvim/issues/667#issuecomment-1965426553
programs.nixvim.colorschemes.catppuccin.customHighlights = /* lua */ ''
programs.nixvim.colorschemes.catppuccin.custom_highlights = /* lua */ ''
function(C)
local cmpfn = require("catppuccin.groups.integrations.cmp")
setfenv(cmpfn.get, { C = C })
Expand Down

0 comments on commit cda553b

Please sign in to comment.