Improvement: gqq autowrap leading :: definition as &l:comments (#1279)
This commit is contained in:
@@ -149,6 +149,10 @@ for bullet in vimwiki#vars#get_syntaxlocal('bullet_types')
|
||||
" list
|
||||
let comments .= ',fb:' . bullet
|
||||
endfor
|
||||
" Add :: for vimwiki default syntax (#1279)
|
||||
if 'default' ==# vimwiki#vars#get_wikilocal('syntax')
|
||||
let comments .= ',b:::'
|
||||
endif
|
||||
let &l:comments = comments
|
||||
|
||||
" Set Format Options: (:h fo-table)
|
||||
|
||||
Reference in New Issue
Block a user