diff options
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 48426ba..fbd54ad 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -357,7 +357,7 @@ local on_attach = function(client, bufnr) | |||
357 | vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts) | 357 | vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts) |
358 | vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts) | 358 | vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts) |
359 | vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts) | 359 | vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts) |
360 | vim.keymap.set('n', '<leader>fm', vim.lsp.buf.formatting, bufopts) | 360 | vim.keymap.set('n', '<leader>fm', function() vim.lsp.buf.format { async = true } end, bufopts) |
361 | end | 361 | end |
362 | 362 | ||
363 | -- bring in cmp_nvim_lsp | 363 | -- bring in cmp_nvim_lsp |