neovim to be managed home-manager instead of Lazy
This commit is contained in:
15
nix/users/base/neovim/default.nix
Normal file
15
nix/users/base/neovim/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
programs.neovim =
|
||||
let
|
||||
toLua = str: "lua << EOF\n${str}\nEOF\n";
|
||||
toLuaFile = file: "lua << EOF\n${builtins.readFile file}\nEOF\n";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user