From 6103c0bc155372a23c9866e82477468443f4bab6 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 3 Apr 2024 20:05:24 +0200 Subject: [PATCH] nixvim try not to move options for 5 minutes challenge #2 --- modules/tui/neovim.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/tui/neovim.nix b/modules/tui/neovim.nix index 21a28f64..aceb9e8e 100644 --- a/modules/tui/neovim.nix +++ b/modules/tui/neovim.nix @@ -29,7 +29,7 @@ in { transparentBackground = true; }; - options = { + opts = { number = true; relativenumber = true; autoread = true; @@ -114,12 +114,12 @@ in { # TODO laytan/cloak.nvim gitsigns = { enable = true; - currentLineBlame = true; - numhl = true; - signcolumn = true; - wordDiff = true; - onAttach = { - function = '' + settings = { + current_line_blame = true; + numhl = true; + signcolumn = true; + word_diff = true; + on_attach = '' function(bufnr) local gs = package.loaded.gitsigns @@ -238,7 +238,7 @@ in { }; keymapsSilent = true; }; - comment-nvim.enable = true; + comment.enable = true; crates-nvim.enable = true; harpoon = { enable = true;