add catppuccin color pallete to dev editor
This commit is contained in:
parent
de08e20947
commit
fac4bde489
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue