applied format keybind
This commit is contained in:
parent
d99e522f94
commit
eb4a4d7344
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ local on_attach = function(_, bufnr)
|
||||||
vim.keymap.set({ "n", "v" }, "<space>ca", vim.lsp.buf.code_action, opts)
|
vim.keymap.set({ "n", "v" }, "<space>ca", vim.lsp.buf.code_action, opts)
|
||||||
vim.keymap.set("n", "gr", vim.lsp.buf.references, opts)
|
vim.keymap.set("n", "gr", vim.lsp.buf.references, opts)
|
||||||
|
|
||||||
vim.keymap.set('n', '<space>F', function()
|
vim.keymap.set("n", "<space>F", function()
|
||||||
vim.lsp.buf.format { async = true }
|
vim.lsp.buf.format({ async = true })
|
||||||
end, opts)
|
end, opts)
|
||||||
|
|
||||||
vim.keymap.set("n", "<space>f", function()
|
vim.keymap.set("n", "<space>f", function()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue