about summary refs log tree commit diff stats
path: root/modules/home/conf/nvim/plgs/telescope
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-19 07:15:25 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-19 07:15:25 +0200
commit763b9e3340299185240ec45b9c9b67602ce994ec (patch)
tree3874135d1b4cf7550f2b0a5d392298dbd303b70b /modules/home/conf/nvim/plgs/telescope
parentfix(pkgs/brightness): Remove unneeded variable assignment (diff)
downloadnixos-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 '')
-rw-r--r--modules/home/conf/nvim/plgs/telescope/extensions/frecency/default.nix3
-rw-r--r--modules/home/conf/nvim/plgs/telescope/extensions/symbols/default.nix9
2 files changed, 4 insertions, 8 deletions
diff --git a/modules/home/conf/nvim/plgs/telescope/extensions/frecency/default.nix b/modules/home/conf/nvim/plgs/telescope/extensions/frecency/default.nix
index c1cebc09..0e007b80 100644
--- a/modules/home/conf/nvim/plgs/telescope/extensions/frecency/default.nix
+++ b/modules/home/conf/nvim/plgs/telescope/extensions/frecency/default.nix
@@ -4,8 +4,7 @@
       {
         key = "gff";
         mode = "n";
-        action = "function() require('telescope').extensions.frecency.frecency() end";
-        lua = true;
+        action.__raw = "function() require('telescope').extensions.frecency.frecency() end";
         options.desc = "activate the frecency file selection";
       }
     ];
diff --git a/modules/home/conf/nvim/plgs/telescope/extensions/symbols/default.nix b/modules/home/conf/nvim/plgs/telescope/extensions/symbols/default.nix
index fa166c02..05b4a4f2 100644
--- a/modules/home/conf/nvim/plgs/telescope/extensions/symbols/default.nix
+++ b/modules/home/conf/nvim/plgs/telescope/extensions/symbols/default.nix
@@ -8,33 +8,31 @@
       {
         key = "<space>il";
         mode = "n";
-        action = ''
+        action.__raw = ''
           function()
             require('telescope.builtin').symbols{ sources = {
               'latex'
             }}
           end
         '';
-        lua = true;
         options.desc = "[i]nsert a [l]atex symbol";
       }
       {
         key = "<space>ie";
         mode = "n";
-        action = ''
+        action.__raw = ''
           function()
             require('telescope.builtin').symbols{ sources = {
                 'emoji',
             }}
           end
         '';
-        lua = true;
         options.desc = "[i]nsert a [e]moji";
       }
       {
         key = "<space>is";
         mode = "n";
-        action = ''
+        action.__raw = ''
           function()
             require('telescope.builtin').symbols{ sources = {
                 'emoji',
@@ -47,7 +45,6 @@
             }}
           end
         '';
-        lua = true;
         options.desc = "[i]nsert a [s]ymbol (like emojis)";
       }
     ];