summaryrefslogtreecommitdiff
path: root/home/neovim
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-24 11:51:39 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-24 11:51:39 -0400
commitd639c293ad1ba71008aeb5c54c40f59a076018dc (patch)
treee832a3f0ee5044c8b35e5642f07a62137bbffc2c /home/neovim
parentupdate ssh config (diff)
downloaddotfiles-nix-d639c293ad1ba71008aeb5c54c40f59a076018dc.tar.gz
dotfiles-nix-d639c293ad1ba71008aeb5c54c40f59a076018dc.tar.bz2
dotfiles-nix-d639c293ad1ba71008aeb5c54c40f59a076018dc.zip
redo lib, make global vars for key lists
Diffstat (limited to 'home/neovim')
-rw-r--r--home/neovim/config.nix4
-rw-r--r--home/neovim/default.nix4
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";