Fix for ]d being mapped to diagnostic.goto_next. It has been changed to diagnostic.goto_prev that should be the behaviour according to the readme. (#47)

neovim_0_5
Behzad 3 years ago committed by GitHub
parent 0038f13c62
commit 5c7925a54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ local key_maps = {
{key = "gL", func = "diagnostic.show_line_diagnostics( { border = 'single' })"},
{key = "gG", func = "require('navigator.diagnostics').show_diagnostic()"},
{key = "]d", func = "diagnostic.goto_next({ border = 'single' })"},
{key = "[d", func = "diagnostic.goto_next({ border = 'single' })"},
{key = "[d", func = "diagnostic.goto_prev({ border = 'single' })"},
{key = "]r", func = "require('navigator.treesitter').goto_next_usage()"},
{key = "[r", func = "require('navigator.treesitter').goto_previous_usage()"},
{key = "<C-LeftMouse>", func = "definition()"},

Loading…
Cancel
Save