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

View file

@ -13,10 +13,10 @@
./protobuf.nix
./python.nix
./rust.nix
./sh.nix
./ts.nix
./yaml.nix
./csharp.nix
# TODO elixir
# 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;
};
}