add catppuccin color pallete to dev editor

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-07 17:17:33 +03:00
parent de08e20947
commit fac4bde489
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -10,7 +10,7 @@ let
}; };
tree-sitter = (pkgs.tree-sitter.override { inherit extraGrammars; }); tree-sitter = (pkgs.tree-sitter.override { inherit extraGrammars; });
grammars = tree-sitter.withPlugins (g: [ g.tree-sitter-d2 ]); grammars = tree-sitter.withPlugins (g: [ g.tree-sitter-d2 g.tree-sitter-javascript ]);
nvim-treesitter = pkgs.vimPlugins.nvim-treesitter.overrideAttrs (oldAttrs: { nvim-treesitter = pkgs.vimPlugins.nvim-treesitter.overrideAttrs (oldAttrs: {
postPatch = '' postPatch = ''
@ -37,6 +37,10 @@ let
enable = true, enable = true,
}, },
}) })
vim.g.catppuccin_flavour = "frappe"
require("catppuccin").setup()
vim.cmd([[colorscheme catppuccin]])
''; '';
neovim = pkgs.neovim.override { neovim = pkgs.neovim.override {
@ -48,8 +52,9 @@ let
EOF EOF
''; '';
packages.myPlugins.start = [ packages.myPlugins.start = with pkgs.vimPlugins; [
nvim-treesitter nvim-treesitter
catppuccin-nvim
]; ];
}; };
}; };