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/telescope/extensions | |
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 '')
-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)"; } ]; |