We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81541dc commit cd7d0c2Copy full SHA for cd7d0c2
plugin/pangu.vim
@@ -107,8 +107,8 @@ function! PanGuSpacingCore()
107
silent! %s/\([a-zA-Z0-9!&;=\]\,\.\:\?\$\%\^\-\+\)\/\\]\)\([\u4e00-\u9fa5\u3040-\u30FF]\)/\1 \2/g " 汉字在后。
108
109
" 修复 markdown 链接所使用的标点。
110
- silent! %s/\s*[『\[]\([^』\]]\+\)[』\]][『\[]\([^』\]]\+\)[』\]]\s*/ [\1][\2] /g " 参考链接
111
- silent! %s/\s*[『\[]\([^』\]]\+\)[』\]][((]\([^』)]\+\)[))]\s*/ [\1](\2) /g " 内联链接
+ silent! %s/[『\[]\([^』\]]\+\)[』\]][『\[]\([^』\]]\+\)[』\]]/[\1][\2]/g " 参考链接
+ silent! %s/[『\[]\([^』\]]\+\)[』\]][((]\([^』)]\+\)[))]/[\1](\2)/g " 内联链接
112
113
silent! %s/^ \[/[/
114
silent! %s/\s\+$//
0 commit comments