about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 19:40:21 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 19:45:28 +0200
commit3d0658a9945586215ade21992d7bfda903d2d4d8 (patch)
tree3b1c2fc35c875f4ebaed5d9229955d5c302d6d12 /home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps
parentFix(hm/conf/neovim/plugins/lf): Prepend 'vim' to global 'o' usage (diff)
downloadnixos-config-3d0658a9945586215ade21992d7bfda903d2d4d8.zip
Fix(hm/conf/neovim/mappings): Correctly specify lua code
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix2
1 files changed, 2 insertions, 0 deletions
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 = {
         "<space>f" = {
           action = "function() vim.lsp.buf.format { async = true } end";
+          lua = true;
           desc = "[F]ormat the current buffer (asynchronously)";
         };
         "<space>wl" = {
@@ -78,6 +79,7 @@
               print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
             end
           '';
+          lua = true;
           desc = "[W]orkspace folders [l]ist";
         };
       };