From 3d0658a9945586215ade21992d7bfda903d2d4d8 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 19 Aug 2023 19:40:21 +0200 Subject: Fix(hm/conf/neovim/mappings): Correctly specify lua code --- .../soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'home-manager/soispha/config/neovim/nixvim/plugins') diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix index c36bc102..1cca9866 100644 --- a/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix @@ -70,6 +70,7 @@ normal = { "f" = { action = "function() vim.lsp.buf.format { async = true } end"; + lua = true; desc = "[F]ormat the current buffer (asynchronously)"; }; "wl" = { @@ -78,6 +79,7 @@ print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end ''; + lua = true; desc = "[W]orkspace folders [l]ist"; }; }; -- cgit 1.4.1