Skip to content

Conversation

samyk
Copy link

@samyk samyk commented Dec 6, 2020

This MarkdownGetHeader() function is useful for adding the section of markdown you're currently in by seeing it in the status bar, eg with airline:

let g:airline_section_gutter = '%= %#hdrinfo#%{exists(''*MarkdownGetHeader'')?MarkdownGetHeader()[0:20]:""}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant