asciidoc: Use asciidoctor plugin
authorStefan Huber <shuber@sthu.org>
Tue, 22 Dec 2020 13:50:50 +0000 (14:50 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 22 Dec 2020 13:52:23 +0000 (14:52 +0100)
This makes the commetns+=fb:., obsolete.

init.vim
plugins.vim

index 1f1bfc709be977cc6b54d7d829337bb100cb9b5f..9f6fdd001d1a89fe97a3a416f68dd32df20cda53 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -141,8 +141,6 @@ au FileType text,markdown,asciidoc,mail,gitcommit,mediawiki,vimwiki setlocal for
 au Filetype mail setlocal formatoptions+=o
 " Add | for block quotation, such that gq respects it
 au Filetype mail setlocal comments+=n:\|,
 au Filetype mail setlocal formatoptions+=o
 " Add | for block quotation, such that gq respects it
 au Filetype mail setlocal comments+=n:\|,
-" Add ordered lists via .
-au Filetype asciidoc setlocal comments+=fb:.,
 
 au Filetype go setlocal shiftwidth=8 tabstop=8 noexpandtab
 au Filetype tex setlocal shiftwidth=2 tabstop=2
 
 au Filetype go setlocal shiftwidth=8 tabstop=8 noexpandtab
 au Filetype tex setlocal shiftwidth=2 tabstop=2
index 35c123226a10d700c20316849c082b28b043d99e..3d3a9bc5c23dd42b21940eb92ca16d4dd943c5eb 100644 (file)
@@ -31,6 +31,7 @@ Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'}
 
 Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
 Plug 'lvht/tagbar-markdown', {'for': 'markdown'}
 
 Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
 Plug 'lvht/tagbar-markdown', {'for': 'markdown'}
+Plug 'habamax/vim-asciidoctor', {'for': 'asciidoc'}
 
 Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'}
 Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']}
 
 Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'}
 Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']}