colorschemes: added my own theme

This commit is contained in:
Barna Máté 2024-12-21 19:29:50 +01:00
parent 2277230c16
commit 1514089913
3 changed files with 33 additions and 22 deletions

View file

@ -1,7 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }: {
colorschemes.oxocarbon.enable = true; colorscheme = "shades_of_purple";
#colorscheme = "shades_of_purple";
colorscheme = "oxocarbon";
opts = { opts = {
number = true; number = true;
@ -10,28 +8,24 @@
# Set <Space> as leader # Set <Space> as leader
globals.mapleader = " "; globals.mapleader = " ";
autoCmd = [
# Start aw-watcher-vim on startup
{
command = ":'";
event = [
"VimEnter"
];
}
];
extraPlugins = with pkgs; [ extraPlugins = with pkgs; [
{ {
plugin = pkgs.vimUtils.buildVimPlugin { plugin = pkgs.vimUtils.buildVimPlugin
pname = "lush"; {
version = "1.0.0"; # dummy version pname = "shades_of_purple";
src = pkgs.fetchFromGitHub { version = "1.0.1"; # dummy version
owner = "rktjmp"; src = pkgs.fetchFromGitea {
repo = "lush.nvim"; domain = "git.4o1x5.dev";
rev = "45a79ec4acb5af783a6a29673a999ce37f00497e"; owner = "4o1x5";
hash = "sha256-meUCXjJ9kHOOpRd4TR2dc7Ai97zOQX35hYFEDZseiSk="; repo = "shades-of-purple-nvim";
rev = "c009b792d7e23e5fa988e8741997506cc53c52b1";
hash = "sha256-LRXzVRWZV9Tk0hEsDmdr64dURLVW0XJzlolzDxjd40k=";
}; };
}; };
} }
vimPlugins.lush-nvim
]; ];
} }

View file

@ -13,10 +13,10 @@
./protobuf.nix ./protobuf.nix
./python.nix ./python.nix
./rust.nix ./rust.nix
./sh.nix
./ts.nix ./ts.nix
./yaml.nix ./yaml.nix
./csharp.nix ./csharp.nix
# TODO elixir
# TODO java # TODO java
]; ];

View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
plugins = {
conform-nvim.settings = {
formatters_by_ft = {
sh = [ "shfmt" ];
};
formatters = {
shfmt = {
command = "${pkgs.shfmt}/bin/shfmt";
};
};
};
lsp.servers.bashls.enable = true;
};
}