SmiteshP / nvim-gps

Simple statusline component that shows what scope you are working inside
Apache License 2.0
478 stars 47 forks source link

feat: add support for norg #85

Closed mathjiajia closed 2 years ago

mathjiajia commented 2 years ago

It will capture the headings (up to level 6):

Screenshot 2022-03-28 at 9 56 35 PM Screenshot 2022-03-28 at 9 56 43 PM Screenshot 2022-03-28 at 9 56 52 PM
mathjiajia commented 2 years ago

I am done.

SmiteshP commented 2 years ago

Looking at both the examples looks like headings that are captured can be very long. Are you sure having such long heading names and stuff show up in statusline would be helpful? 🤔

mathjiajia commented 2 years ago

Indeed, I am following VSCode. But the font size in VSCode is smaller.

Screenshot 2022-03-28 at 10 48 57 PM

If you think that it is a bad idea to display such a long string, just ignore the two PR.

SmiteshP commented 2 years ago

Indeed, I am following VSCode. But the font size in VSCode is smaller.

Ok, lets get this merged. Users can always disable on per language basis if they don't want it.

mathjiajia commented 2 years ago

Thanks.

Users can always disable on per language basis if they don't want it.

You are right.