mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-11 11:23:47 -05:00
#7 fix - avoid enabling autoformat for code blocks
Found a bug with new feature and fixed.
This commit is contained in:
@@ -42,7 +42,7 @@ if !exists('g:pencil#autoformat_exclude')
|
||||
\ ]
|
||||
en
|
||||
let g:pencil#autoformat_exclude_re =
|
||||
\ '(' . join(g:pencil#autoformat_exclude, '|') . ')'
|
||||
\ '\v(' . join(g:pencil#autoformat_exclude, '|') . ')'
|
||||
|
||||
if !exists('g:pencil#joinspaces')
|
||||
" by default, only one space after full stop (.)
|
||||
|
||||
Reference in New Issue
Block a user