about summary refs log tree commit diff stats
path: root/modules/home/conf/nvim/plgs/goto-preview/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home/conf/nvim/plgs/goto-preview/default.nix15
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";
       }
     ];