mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
users/foo-dogsquared/programs/nixvim: add miscellaneous settings
This commit is contained in:
parent
434a4e90aa
commit
881af63a03
@ -1,3 +1,6 @@
|
||||
# Take note, this already assumes we're using on top of an already existing
|
||||
# NixVim configuration. See the declarative users configuration for more
|
||||
# details.
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
@ -14,6 +17,7 @@ in
|
||||
imports =
|
||||
[
|
||||
./colorschemes.nix
|
||||
./misc.nix
|
||||
./note-taking.nix
|
||||
]
|
||||
++ lib.optionals userCfg.setups.development.enable [
|
||||
@ -23,6 +27,8 @@ in
|
||||
];
|
||||
config = {
|
||||
enable = true;
|
||||
|
||||
# Inherit all of the schemes.
|
||||
inherit (hmCfg) tinted-theming;
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,21 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
extraPlugins = builtins.map (path:
|
||||
pkgs.runCommand "vim-plugin-bare" { } ''
|
||||
mkdir -p "$out"
|
||||
cp -r ${path}/* "$out"
|
||||
'')
|
||||
(with pkgs; [
|
||||
"${decker}/share/vim-plugins/decker"
|
||||
"${fzf}/share/vim-plugins/fzf"
|
||||
]);
|
||||
|
||||
# Light your browser on fire, bebe.
|
||||
plugins.firenvim.enable = true;
|
||||
|
||||
# Make it work.
|
||||
plugins.smart-splits.enable = true;
|
||||
|
||||
# Project-specific Neovim configurations. Fancy.
|
||||
globals.exrc = true;
|
||||
}
|
Loading…
Reference in New Issue
Block a user