minor updates
This commit is contained in:
parent
57ee993ab3
commit
6a174ec543
2 changed files with 65 additions and 64 deletions
1
init.lua
1
init.lua
|
@ -24,5 +24,4 @@ require "user.lsp"
|
|||
require "user.dap"
|
||||
|
||||
require "user.exrc"
|
||||
--require "user.vimspector"
|
||||
require "user.fidget"
|
||||
|
|
|
@ -73,6 +73,8 @@ local function lsp_keymaps(bufnr)
|
|||
keymap(bufnr, "n", "<leader>lr", "<cmd>lua vim.lsp.buf.rename()<cr>", opts)
|
||||
keymap(bufnr, "n", "<leader>ls", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts)
|
||||
keymap(bufnr, "n", "<leader>lq", "<cmd>lua vim.diagnostic.setloclist()<CR>", opts)
|
||||
keymap(bufnr, "v", "<leader>lf", "<esc><cmd>'<,'>lua vim.lsp.buf.format{ async = true }<cr>", opts)
|
||||
keymap(bufnr, "x", "<leader>lf", "<esc><cmd>'<,'>lua vim.lsp.buf.format{ async = true }<cr>", opts)
|
||||
end
|
||||
|
||||
M.on_attach = function(client, bufnr)
|
||||
|
|
Loading…
Reference in a new issue