diff options
author | listout <listout@protonmail.com> | 2021-07-14 22:06:57 +0530 |
---|---|---|
committer | listout <listout@protonmail.com> | 2021-07-14 22:06:57 +0530 |
commit | 246724eb9ff30bb04fea0f9d0a518f5886ba938f (patch) | |
tree | 04b742ad5c32e2aa68c234af9101728f11e71417 /after | |
parent | 063b1ecf0f577ea5e12bfbf33fb181fdb7d999c3 (diff) |
autopair configuration for markdown and pandoc markdown
Diffstat (limited to 'after')
-rw-r--r-- | after/ftplugin/markdown.vim | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/after/ftplugin/markdown.vim b/after/ftplugin/markdown.vim index e0115be..c272a81 100644 --- a/after/ftplugin/markdown.vim +++ b/after/ftplugin/markdown.vim @@ -19,5 +19,16 @@ highlight Conceal ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE map gf :e <cfile><CR> " Auto complete for $ in pandoc markdown -let b:AutoPairs = extend({'$': '$'}, g:AutoPairs, 'keep') +let g:AutoPairs = { + \ "`":"`", + \ "$":"$", + \ "$$$":"$$$", + \ "```":"```", + \ "(":")", + \ "[":"]", + \ "{":"}", + \ "( ": " )", + \ "[ ": " ]", + \ "{ ": " }", + \ } let java_ignore_javadoc=1 |