SmiteshP / nvim-navic

Simple winbar/statusline plugin that shows your current code context

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recent update breaks markdown files without headings

chrisgrieser opened this issue · comments

As far as I can tell, markdown files without headings always get this error, popping up every half second (updatetime, I assume), making these buffers unusable. Had to disable navic for markdown.

CleanShot 2023-03-26 at 22 55 58

commented

I have the same issue for nearly empty files or bash scripts of only a few lines.

commented

Update to ec0ae4a , have the same issue, temporarily rolled back to 59b997f

@chrisgrieser @mischavandenburg @ueaner
Can you guys share some minimal examples where you are seeing this issue and which LSP you are using for that file?

Looks like the issue was occuring on line 325, perhaps this PR #100 has already fixed it 🤔
Can you guys check if latest commit is working?

commented

@SmiteshP Thanks, this works for me.

yep, the latest seems to have fixed it. Thanks!