24

Is there any way when using the YouCompleteMe vim extension to jump to the next point in the file with an error? I find myself just scrolling through the page until I find the error highlight, but there must be a better way to do it.

NHDaly
  • 621
  • 1
  • 5
  • 11

1 Answers1

30

If you let g:ycm_always_populate_location_list = 1, YouCompleteMe will populate vims location list with new diagnostic data. You can jump through the entries in that list with :lnext and :lprevious. You can read more about the location list in the documentation of the quickfix feature (:h location-list or use the online version).

Wieland
  • 6,353
  • 3
  • 28
  • 31