From 763b9e3340299185240ec45b9c9b67602ce994ec Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 19 Jun 2024 07:15:25 +0200 Subject: fix(modules/nvim): Update to the newest nixVim version This includes replacing the deprecated `lua = true` pattern with a raw lua value and using the new name for `nil_ls`: `nil-ls` --- modules/home/conf/nvim/plgs/goto-preview/default.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'modules/home/conf/nvim/plgs/goto-preview') diff --git a/modules/home/conf/nvim/plgs/goto-preview/default.nix b/modules/home/conf/nvim/plgs/goto-preview/default.nix index 13a26212..3de28c68 100644 --- a/modules/home/conf/nvim/plgs/goto-preview/default.nix +++ b/modules/home/conf/nvim/plgs/goto-preview/default.nix @@ -15,36 +15,31 @@ { key = "gd"; mode = "n"; - action = "require('goto-preview').goto_preview_definition"; - lua = true; + action.__raw = "require('goto-preview').goto_preview_definition"; options.desc = "[G]oto [D]efinition"; } { key = "gtd"; mode = "n"; - action = "require('goto-preview').goto_preview_type_definition"; - lua = true; + action.__raw = "require('goto-preview').goto_preview_type_definition"; options.desc = "[G]oto the [t]ype [D]efinition"; } { key = "gi"; mode = "n"; - action = "require('goto-preview').goto_preview_implementation"; - lua = true; + action.__raw = "require('goto-preview').goto_preview_implementation"; options.desc = "[G]oto [I]mplementations"; } { key = "gr"; mode = "n"; - action = "require('goto-preview').goto_preview_references"; - lua = true; + action.__raw = "require('goto-preview').goto_preview_references"; options.desc = "[G]o to all [R]eferences of the symbol"; } { key = "\\"; mode = "n"; - action = "require('goto-preview').close_all_win"; - lua = true; + action.__raw = "require('goto-preview').close_all_win"; options.desc = "close all preview windows"; } ]; -- cgit 1.4.1