diff options
| author | guru245 <guru245@users.noreply.github.com> | 2025-04-19 15:01:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 14:01:38 +0800 |
| commit | ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255 (patch) | |
| tree | b365b2cfa8fb15c04aad066828bcdd8b0d71784d /README.md | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.tar nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.tar.gz nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.tar.bz2 nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.tar.lz nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.tar.xz nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.tar.zst nvim-lspconfig-ba00e3fa3dcb1acd60a7e5ab7cbac4c67491f255.zip | |
docs: update README.md for diagnostic mappings (#3750)
Now that vim.diagnostic.goto_prev() and vim.diagnostic.goto_next() have
been deprecated, update the README with up-to-date information.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -60,7 +60,8 @@ Nvim sets some default options and mappings when a buffer attaches to LSP (see [ * [`'formatexpr'`][formatexpr] - Enables LSP formatting with [`gq`][gq]. * `K` maps to [`vim.lsp.buf.hover()`][vim.lsp.buf.hover] in Normal mode. -* `[d` and `]d` map to `vim.diagnostic.goto_prev()` and `vim.diagnostic.goto_next()`, respectively. +* `[d` and `]d` map to `vim.diagnostic.jump()` with `{count=-1}` and + `vim.diagnostic.jump()` with `{count=1}`, respectively. * `<C-W>d` maps to `vim.diagnostic.open_float()`. [lsp-config]: https://neovim.io/doc/user/lsp.html#lsp-config |
