diff options
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/lsp.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 0089033..217802a 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -23,6 +23,14 @@ local lspconfig = { desc = "Rename symbol" }, { + '<C-f>', + function() + vim.lsp.buf.format() + end, + mode = {'n', 'v'}, + desc = "Format code" + }, + { '<leader>la', function () vim.lsp.buf.code_action() |
