diff options
Diffstat (limited to 'hm/soispha/conf/nvim/plgs/lsp/keymaps/default.nix')
-rw-r--r-- | hm/soispha/conf/nvim/plgs/lsp/keymaps/default.nix | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/hm/soispha/conf/nvim/plgs/lsp/keymaps/default.nix b/hm/soispha/conf/nvim/plgs/lsp/keymaps/default.nix index 4017521d..e176461e 100644 --- a/hm/soispha/conf/nvim/plgs/lsp/keymaps/default.nix +++ b/hm/soispha/conf/nvim/plgs/lsp/keymaps/default.nix @@ -50,23 +50,23 @@ }; }; }; - maps = { - normal = { - "<space>f" = { - action = "function() vim.lsp.buf.format { async = true } end"; - lua = true; - desc = "[F]ormat the current buffer (asynchronously)"; - }; - "<space>wl" = { - action = '' - function() - print(vim.inspect(vim.lsp.buf.list_workspace_folders())) - end - ''; - lua = true; - desc = "[W]orkspace folders [l]ist"; - }; - }; - }; + keymaps = [ + { + key = "<space>f"; + action = "function() vim.lsp.buf.format { async = true } end"; + lua = true; + options.desc = "[F]ormat the current buffer (asynchronously)"; + } + { + key = "<space>wl"; + action = '' + function() + print(vim.inspect(vim.lsp.buf.list_workspace_folders())) + end + ''; + lua = true; + options.desc = "[W]orkspace folders [l]ist"; + } + ]; }; } |