diff options
Diffstat (limited to 'modules/home/conf/nvim/plgs/telescope')
-rw-r--r-- | modules/home/conf/nvim/plgs/telescope/extensions/frecency/default.nix | 3 | ||||
-rw-r--r-- | modules/home/conf/nvim/plgs/telescope/extensions/symbols/default.nix | 9 |
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)"; } ]; |