mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-06 17:56:38 +02:00
neovim: Add chameleon.nvim for kitty support
Makes it possible to change color schemes in neovim and have the color of padding from kitty change as well.
This commit is contained in:
parent
71bcb6fdcf
commit
ca52770815
@ -147,6 +147,13 @@ in
|
|||||||
require("ibl").setup()
|
require("ibl").setup()
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
plugin = pkgs.callPackage ../packages/chameleon-nvim.nix { };
|
||||||
|
type = "lua";
|
||||||
|
config = /* lua */ ''
|
||||||
|
require("chameleon").setup()
|
||||||
|
'';
|
||||||
|
}
|
||||||
{
|
{
|
||||||
plugin = gitsigns-nvim;
|
plugin = gitsigns-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
|
25
packages/chameleon-nvim.nix
Normal file
25
packages/chameleon-nvim.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ lib
|
||||||
|
, vimUtils
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
vimUtils.buildVimPlugin {
|
||||||
|
pname = "chameleon-nvim";
|
||||||
|
version = "0-unstable-2024-03-19";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "shaun-mathew";
|
||||||
|
repo = "Chameleon.nvim";
|
||||||
|
rev = "d682b970cc75a66c40cab77ab956ef44b0f82cd8";
|
||||||
|
hash = "sha256-RRFTlybAlTbAuP1cU3WJVk8FZGvQqYR7LXWxenGcY0I=";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Sync kitty's background color with your neovim colorscheme";
|
||||||
|
homepage = "https://github.com/shaun-mathew/Chameleon.nvim";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ donovanglover ];
|
||||||
|
mainProgram = "chameleon-nvim";
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user