mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-23 21:09:48 +01:00
Merge pull request #253 from horriblename/fix-bad-import
fix: bad import
This commit is contained in:
commit
fe0d79b9af
1 changed files with 5 additions and 2 deletions
|
@ -3,8 +3,11 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf optionals mkMerge mkBinding nvim;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
|
inherit (lib.lists) optionals;
|
||||||
inherit (lib.nvim.lua) toLuaObject;
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
|
inherit (lib.nvim.dag) entryAnywhere;
|
||||||
|
inherit (lib.nvim.binds) mkBinding;
|
||||||
|
|
||||||
cfg = config.vim.session.nvim-session-manager;
|
cfg = config.vim.session.nvim-session-manager;
|
||||||
in {
|
in {
|
||||||
|
@ -25,7 +28,7 @@ in {
|
||||||
# TODO: load_current_dir_session
|
# TODO: load_current_dir_session
|
||||||
];
|
];
|
||||||
|
|
||||||
luaConfigRC.nvim-session-manager = nvim.dag.entryAnywhere ''
|
luaConfigRC.nvim-session-manager = entryAnywhere ''
|
||||||
local Path = require('plenary.path')
|
local Path = require('plenary.path')
|
||||||
local sm = require('session_manager.config')
|
local sm = require('session_manager.config')
|
||||||
require('session_manager').setup(${toLuaObject cfg.setupOpts})
|
require('session_manager').setup(${toLuaObject cfg.setupOpts})
|
||||||
|
|
Loading…
Reference in a new issue