diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-19 07:15:25 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-19 07:15:25 +0200 |
commit | 763b9e3340299185240ec45b9c9b67602ce994ec (patch) | |
tree | 3874135d1b4cf7550f2b0a5d392298dbd303b70b /modules/home/conf/nvim/plgs/goto-preview | |
parent | fix(pkgs/brightness): Remove unneeded variable assignment (diff) | |
download | nixos-config-763b9e3340299185240ec45b9c9b67602ce994ec.tar.gz nixos-config-763b9e3340299185240ec45b9c9b67602ce994ec.zip |
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`
Diffstat (limited to 'modules/home/conf/nvim/plgs/goto-preview')
-rw-r--r-- | modules/home/conf/nvim/plgs/goto-preview/default.nix | 15 |
1 files changed, 5 insertions, 10 deletions
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 = "<space>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 = "<space>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 = "<space>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 = "<space>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 = "\\<space>"; 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"; } ]; |