feat: disable lsp format command.
This commit is contained in:
parent
14dbe77db4
commit
d8f42809ea
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@ vim.g.maplocalleader = ";"
|
|||
-- source current file
|
||||
vim.keymap.set("n", "<Leader> ", ":update<CR> :source<CR>", { desc = "Source current lua file" })
|
||||
|
||||
-- format
|
||||
vim.keymap.set("n", "<Leader>lf", vim.lsp.buf.format, { desc = "Format buffer with available lsp" })
|
||||
-- -- format
|
||||
-- vim.keymap.set("n", "<Leader>lf", vim.lsp.buf.format, { desc = "Format buffer with available lsp" })
|
||||
|
||||
-- easy copy/cut/paste from system clipboard
|
||||
vim.keymap.set({ "n", "v", "x" }, "<Leader>y", '"+y', { desc = "Yank to system clipboard" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue