diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2022-08-23 05:39:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-23 05:39:29 -0700 |
| commit | 607ff48b970b89c3e4e3825b88d9cfd05b7aaea5 (patch) | |
| tree | 8892887eed744f92a1706663f440de3c35ae0fb9 /README.md | |
| parent | feat: allow attaching to paths inside archives (#1687) (diff) | |
| download | nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.tar nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.tar.gz nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.tar.bz2 nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.tar.lz nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.tar.xz nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.tar.zst nvim-lspconfig-607ff48b970b89c3e4e3825b88d9cfd05b7aaea5.zip | |
Revert "docs: vim.lsp.buf.formatting() is deprecated #2077
This reverts commit 589d38d3cf2e711cf848c12ed1d6ba38899a2f38.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ local on_attach = function(client, bufnr) vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename, bufopts) vim.keymap.set('n', '<space>ca', vim.lsp.buf.code_action, bufopts) vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts) - vim.keymap.set('n', '<space>f',function() vim.lsp.buf.format { async = true } end, bufopts) + vim.keymap.set('n', '<space>f', vim.lsp.buf.formatting, bufopts) end local lsp_flags = { |
