You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional logic in qf#GetEntryPath to waltz up the entries until
it found a path.
That would work but then we'll need error handling in the calling
functions, in case e.g. the first few lines have now paths.
Add additional logic in qf#preview#PreviewFileUnderCursor and s:JumpFileChunk to act accordingly.
Imho the first option would be more error prone, especially in the long run.
Afterthought - the best thing would be a wrapper qf#GetEntryPathRecursive(o.s.) around qf#GetEntryPath, which does go until the first available and returns nil if none was found.
s:JumpFileChunk
should be aware of this and skip the line accordingly.The text was updated successfully, but these errors were encountered: