{"id":13896542,"url":"https://github.com/weilbith/nvim-lsp-diamove","last_synced_at":"2025-07-17T12:34:11.326Z","repository":{"id":103105819,"uuid":"262464465","full_name":"weilbith/nvim-lsp-diamove","owner":"weilbith","description":"Navigation for LSP diagnostics in NeoVim","archived":true,"fork":false,"pushed_at":"2020-11-13T08:36:57.000Z","size":18,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-07T18:39:57.770Z","etag":null,"topics":["neovim","neovim-lsp","neovim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weilbith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-09T01:35:42.000Z","updated_at":"2024-07-01T07:21:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"496767fe-48bb-4a09-855e-e3af81a1dba1","html_url":"https://github.com/weilbith/nvim-lsp-diamove","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilbith%2Fnvim-lsp-diamove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilbith%2Fnvim-lsp-diamove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilbith%2Fnvim-lsp-diamove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilbith%2Fnvim-lsp-diamove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weilbith","download_url":"https://codeload.github.com/weilbith/nvim-lsp-diamove/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226265521,"owners_count":17597222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neovim","neovim-lsp","neovim-plugin"],"created_at":"2024-08-06T18:02:59.805Z","updated_at":"2024-11-25T02:30:50.959Z","avatar_url":"https://github.com/weilbith.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# !!!DEPRACTED!!!\n\n**With the development of NeoVim all features of this plugin have become part of the core. Please read the commit message for  version [f75be5e](https://github.com/neovim/neovim/commit/f75be5e9d510d5369c572cf98e78d9480df3b0bb) to get further details.**\n\n---\n\n# NeoVim Language Server Diagnostic Movements\n\nAdd the missing navigation commands for the LSP diagnostics in a buffer.\nThis is an addition to the already existing `:cabove`, `:cbelow`, `:labove` and\n`:lbelow` commands (which act on the quickfix and location list). In addition the\ndiagnostic movements are more secure and precise.\n\n## Installation\n\nInstall the plugin with your favorite manager tool. Here is an example using\n[dein.vim](https://github.com/Shougo/dein.vim):\n\n```vim\ncall dein#add('weilbith/nvim-lsp-diamove', {\n      \\ 'on_cmd': ['Dabove', 'Dbelow'],\n      \\ })\n```\n\nIt is recommended to use the [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)\nplugin to attach the language clients to your buffers.\n\n## Usage\n\nThis plugin provides two the commands `:Dabove` and `:Dbelow`. They are\nmapped to the convenient keys combos `[d` and `]d` (note that this can be\ndisabled). All commands and mappings can be prefixed with a count (e.g. `3[d`).\n\nPlease make sure that your buffer has an LSP client attached and the server is\nsupporting diagnostics. _NeoVim_ enables the pushing of diagnostics per default.\n\n## Comparison \u0026 Design Decisions\n\nThis plugin attempts to be minimalistic. Therefore it does **not** customize the\ncallback function for the diagnostics. Rather it reuses the published\n[`vim.lsp.util.diagnostics_by_buf`](https://neovim.io/doc/user/lsp.html) table.\nThe only advanced logic is the correct sort order of the diagnostic\nlist to guarantee precise jumps. This is for example not the case for `:cabove`\netc.\nIf you search for a plugin with more features to customize the diagnostic\nbehavior, checkout the\n[diagnostic-nvim](https://github.com/haorenW1025/diagnostic-nvim) plugin. But be\naware that such plugin re-rewrites/overwrites the LSP callback completely (not extending it, at\nthe [current\nstate](https://github.com/haorenW1025/diagnostic-nvim/commit/4255eb7697e45550292076c4957028ee4d7232e1))\nand thereby may not profit by future updates of _NeoVim_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweilbith%2Fnvim-lsp-diamove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweilbith%2Fnvim-lsp-diamove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweilbith%2Fnvim-lsp-diamove/lists"}