mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-30 08:36:46 +00:00
19 lines
325 B
Nix
19 lines
325 B
Nix
|
{
|
||
|
pkgs,
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
with lib;
|
||
|
with builtins; let
|
||
|
cfg = config.vim.session.nvim-session-manager;
|
||
|
in {
|
||
|
config = mkIf cfg.enable {
|
||
|
vim.startPlugins = ["nvim-session-manager"];
|
||
|
|
||
|
vim.luaConfigRC.nvim-session-manager = nvim.dag.entryAnywhere ''
|
||
|
require('session_manager').setup({})
|
||
|
'';
|
||
|
};
|
||
|
}
|