Skip to content

Instantly share code, notes, and snippets.

@BorisKourt
Created February 8, 2016 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BorisKourt/73cc775176360b33c839 to your computer and use it in GitHub Desktop.
Save BorisKourt/73cc775176360b33c839 to your computer and use it in GitHub Desktop.
ctags + vim tagbar for the Literate project.
--langdef=literate
--langmap=literate:+.lit
--regex-literate=/^@s[ \t]+(.+)/\1/s,section/i
--regex-literate=/^---[ \t](.+)/\1/c,code/i
--regex-literate=/@{(.*)}/\1/i,includes/i
let g:tagbar_type_literate = {
\ 'ctagstype' : 'literate',
\ 'kinds' : [
\ 's:section',
\ 'c:code',
\ 'i:includes'
\ ]
\ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment