home: vim: lua: lsp: add count to diagnostic maps
This commit is contained in:
parent
262dc48425
commit
2583cc6c12
1 changed files with 2 additions and 2 deletions
|
|
@ -28,13 +28,13 @@ end
|
|||
--- Move to the next diagnostic, automatically showing the diagnostics float if
|
||||
--- necessary.
|
||||
M.goto_next_diagnostic = function()
|
||||
goto_diagnostic(1)
|
||||
goto_diagnostic(vim.v.count1)
|
||||
end
|
||||
|
||||
--- Move to the previous diagnostic, automatically showing the diagnostics float
|
||||
--- if necessary.
|
||||
M.goto_prev_diagnostic = function()
|
||||
goto_diagnostic(-1)
|
||||
goto_diagnostic(-vim.v.count1)
|
||||
end
|
||||
|
||||
--- shared LSP configuration callback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue