colorschemes: added my own theme
This commit is contained in:
parent
2277230c16
commit
1514089913
|
@ -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
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
./protobuf.nix
|
||||
./python.nix
|
||||
./rust.nix
|
||||
./sh.nix
|
||||
./ts.nix
|
||||
./yaml.nix
|
||||
./csharp.nix
|
||||
# TODO elixir
|
||||
# TODO java
|
||||
];
|
||||
|
||||
|
|
17
config/plugins/lang/sh.nix
Normal file
17
config/plugins/lang/sh.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue