mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 01:05:58 +01:00
17 lines
317 B
Nix
17 lines
317 B
Nix
{
|
|
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({})
|
|
'';
|
|
};
|
|
}
|