mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-16 13:53:47 -05:00
More highlight groups for autoformat exclude list
This commit is contained in:
@@ -33,11 +33,18 @@ en
|
|||||||
if !exists('g:pencil#autoformat_exclude')
|
if !exists('g:pencil#autoformat_exclude')
|
||||||
" by default, pencil does NOT start autoformat if inside any of
|
" by default, pencil does NOT start autoformat if inside any of
|
||||||
" the following syntax groups
|
" the following syntax groups
|
||||||
|
"
|
||||||
|
"'markdownCode', 'markdownHighlight[A-Za-z0-9]+' (tpope/vim-markdown)
|
||||||
|
"'mkdCode', 'mkdIndentCode' (plasticboy/vim-markdown)
|
||||||
|
"'markdownFencedCodeBlock', 'markdownInlineCode' (gabrielelana/vim-markdown)
|
||||||
|
"'txtCode' (timcharper/textile.vim)
|
||||||
let g:pencil#autoformat_exclude = [
|
let g:pencil#autoformat_exclude = [
|
||||||
\ 'markdownCode',
|
\ 'markdownCode',
|
||||||
\ 'markdownHighlight[A-Za-z0-9]+',
|
\ 'markdownHighlight[A-Za-z0-9]+',
|
||||||
\ 'mkdCode',
|
\ 'mkdCode',
|
||||||
\ 'mkdIndentCode',
|
\ 'mkdIndentCode',
|
||||||
|
\ 'markdownFencedCodeBlock',
|
||||||
|
\ 'markdownInlineCode',
|
||||||
\ 'txtCode',
|
\ 'txtCode',
|
||||||
\ ]
|
\ ]
|
||||||
en
|
en
|
||||||
|
|||||||
Reference in New Issue
Block a user