refactor: move configs around
This commit is contained in:
parent
a8c03f0261
commit
fc259dff4a
52 changed files with 43 additions and 45 deletions
22
configs/programs/nvf/utilities.nix
Normal file
22
configs/programs/nvf/utilities.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
programs.nvf.settings.vim = {
|
||||
utility = {
|
||||
direnv.enable = true;
|
||||
nix-develop.enable = true;
|
||||
leetcode-nvim = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
image_support = true; # requires image.nvim
|
||||
lang = "rust";
|
||||
};
|
||||
};
|
||||
mkdir.enable = true;
|
||||
new-file-template = {
|
||||
enable = true;
|
||||
# add a directory containing lua/tempaltes/*.lua to vim.additionalRuntimePaths
|
||||
# TODO: add for nix
|
||||
};
|
||||
};
|
||||
session.nvim-session-manager.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue