diff options
author | pr-313 <[email protected]> | 2023-01-19 15:05:06 +0530 |
---|---|---|
committer | opalmay <[email protected]> | 2023-01-20 23:52:10 +0200 |
commit | 621af91ebc158060af688d4f52e2f8f096062989 (patch) | |
tree | 398029b9ae7fc56904b73452feee8a92d7321a69 /lua/lvim/core/which-key.lua | |
parent | 74bd5e16aa2a9dc4bd751618982fcd6cfba3a036 (diff) |
fix(lazy): suggested fixes for pref/lazyloading branch (#3754)
fix(lazy): Suggested fixes from previous comments
fix(lazy): applying suggestions from code review
Co-authored-by: LostNeophyte <[email protected]>
Co-authored-by: Pratyush Bharati <[email protected]>
Co-authored-by: LostNeophyte <[email protected]>
Diffstat (limited to 'lua/lvim/core/which-key.lua')
-rw-r--r-- | lua/lvim/core/which-key.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua index 4f52c49b..ea79f03b 100644 --- a/lua/lvim/core/which-key.lua +++ b/lua/lvim/core/which-key.lua @@ -205,20 +205,20 @@ M.config = function() a = { "<cmd>lua vim.lsp.buf.code_action()<cr>", "Code Action" }, d = { "<cmd>Telescope diagnostics bufnr=0 theme=get_ivy<cr>", "Buffer Diagnostics" }, w = { "<cmd>Telescope diagnostics<cr>", "Diagnostics" }, - f = { "<cmd>lua require('lvim.lsp.utils').format()", "Format" }, + f = { "<cmd>lua require('lvim.lsp.utils').format()<cr>", "Format" }, i = { "<cmd>LspInfo<cr>", "Info" }, I = { "<cmd>Mason<cr>", "Mason Info" }, j = { - "<cmd>lua vim.diagnostic.goto_next()", + "<cmd>lua vim.diagnostic.goto_next()<cr>", "Next Diagnostic", }, k = { - "<cmd>lua vim.diagnostic.goto_prev()", + "<cmd>lua vim.diagnostic.goto_prev()<cr>", "Prev Diagnostic", }, - l = { "<cmd>lua vim.lsp.codelens.run()", "CodeLens Action" }, - q = { "<cmd>lua vim.diagnostic.setloclist()", "Quickfix" }, - r = { "<cmd>lua vim.lsp.buf.rename()", "Rename" }, + l = { "<cmd>lua vim.lsp.codelens.run()<cr>", "CodeLens Action" }, + q = { "<cmd>lua vim.diagnostic.setloclist()<cr>", "Quickfix" }, + r = { "<cmd>lua vim.lsp.buf.rename()<cr>", "Rename" }, s = { "<cmd>Telescope lsp_document_symbols<cr>", "Document Symbols" }, S = { "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>", |