Enable reStructuredText ctags support

This commit is contained in:
Daniel Siepmann 2022-10-20 10:31:26 +02:00
parent 2e6520acf9
commit 7517103501
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 9 additions and 16 deletions

View file

@ -68,7 +68,7 @@
--languages=+apache
# --languages=+ruby
--languages=+python
# --languages=+reStructuredText
--languages=+reStructuredText
--languages=+Markdown
--languages=+SQL
--languages=+snippets

View file

@ -82,21 +82,14 @@ let g:tagbar_type_xml = {
\ 'sort' : 0,
\ }
" " Show outline of rst files
" let g:tagbar_type_rst = {
" \ 'ctagstype': 'rst',
" \ 'ctagsbin' : '~/.dotfiles/bin/rst2ctags/rst2ctags.py',
" \ 'ctagsargs' : '-f - --sort=yes',
" \ 'kinds' : [
" \ 's:sections',
" \ 'i:images'
" \ ],
" \ 'sro' : '|',
" \ 'kind2scope' : {
" \ 's' : 'section',
" \ },
" \ 'sort': 0,
" \ }
" Show outline of rst files
let g:tagbar_type_rst = {
\ 'ctagstype': 'reStructuredText',
\ 'kinds' : [
\ 'c:chapters:0',
\ ],
\ 'sort': 0,
\ }
" SOURCE: https://github.com/mtscout6/vim-tagbar-css/blob/master/plugin/tagbar-css.vim
let g:tagbar_type_css = {