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=+apache
# --languages=+ruby # --languages=+ruby
--languages=+python --languages=+python
# --languages=+reStructuredText --languages=+reStructuredText
--languages=+Markdown --languages=+Markdown
--languages=+SQL --languages=+SQL
--languages=+snippets --languages=+snippets

View file

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