diff options
Diffstat (limited to 'home/neovim')
| -rw-r--r-- | home/neovim/config.nix | 4 | ||||
| -rw-r--r-- | home/neovim/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/home/neovim/config.nix b/home/neovim/config.nix index ae10243..4ded0e9 100644 --- a/home/neovim/config.nix +++ b/home/neovim/config.nix @@ -1,8 +1,8 @@ { config, - inputs, + self, }: -inputs.self.lib.lua.fmt { +self.lib.toLua { # Width of tabs in the editor tabwidth = 4; # If tabs should be expanded to spaces diff --git a/home/neovim/default.nix b/home/neovim/default.nix index c1ed000..559bdf0 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -1,11 +1,11 @@ { - inputs, config, lib, pkgs, + self, ... }: let - lua_cfg = import ./config.nix {inherit config inputs;}; + lua_cfg = import ./config.nix {inherit config self;}; lua = builtins.readFile ./init.lua; in { environment.variables.EDITOR = "nvim"; |