Last active
March 2, 2021 20:21
-
-
Save naddeoa/1b93a17b518a1edf5b50b1f39b68085b to your computer and use it in GitHub Desktop.
Tagbar definition for vim .notes files using markdown2ctags python script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:tagbar_type_notes = { | |
\ 'ctagstype': 'notes', | |
\ 'ctagsbin' : '~/files/bin/markdown2ctags', | |
\ 'ctagsargs' : '-f - --sort=yes --sro=\|', | |
\ 'kinds' : [ | |
\ 's:sections', | |
\ 'i:images' | |
\ ], | |
\ 'sro' : '\|', | |
\ 'kind2scope' : { | |
\ 's' : 'section', | |
\ }, | |
\ 'sort': 0, | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With https://github.com/jszakmeister/markdown2ctags/blob/master/markdown2ctags.py somewhere on your path.