diff options
author | Yigit Sever | 2022-12-06 22:41:31 +0300 |
---|---|---|
committer | Yigit Sever | 2022-12-06 22:41:31 +0300 |
commit | 6f0a28e57835362a4a8222ee072563a4ba25e8da (patch) | |
tree | 9a6277592da2a5260fcfb7962a263ebb7eab13b2 | |
parent | ba37c448ccd9048e99e8d809a73ae77901c75b0b (diff) | |
download | dotfiles-6f0a28e57835362a4a8222ee072563a4ba25e8da.tar.gz dotfiles-6f0a28e57835362a4a8222ee072563a4ba25e8da.tar.bz2 dotfiles-6f0a28e57835362a4a8222ee072563a4ba25e8da.zip |
nvim: change deprecated lsp format
-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 |