From 763b9e3340299185240ec45b9c9b67602ce994ec Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 19 Jun 2024 07:15:25 +0200 Subject: 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` --- modules/home/conf/nvim/plgs/lsp/keymaps/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/home/conf/nvim/plgs/lsp/keymaps') diff --git a/modules/home/conf/nvim/plgs/lsp/keymaps/default.nix b/modules/home/conf/nvim/plgs/lsp/keymaps/default.nix index e176461e..b1276639 100644 --- a/modules/home/conf/nvim/plgs/lsp/keymaps/default.nix +++ b/modules/home/conf/nvim/plgs/lsp/keymaps/default.nix @@ -53,18 +53,16 @@ keymaps = [ { key = "f"; - action = "function() vim.lsp.buf.format { async = true } end"; - lua = true; + action.__raw = "function() vim.lsp.buf.format { async = true } end"; options.desc = "[F]ormat the current buffer (asynchronously)"; } { key = "wl"; - action = '' + action.__raw = '' function() print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end ''; - lua = true; options.desc = "[W]orkspace folders [l]ist"; } ]; -- cgit 1.4.1