From: Chayoung You Date: Wed, 5 Jun 2019 04:25:05 +0000 (+0900) Subject: Search global variables more accurately X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/326eda1293d865345c3a76d5ebe7e9c3b455ec0d?ds=inline;hp=--cc Search global variables more accurately --- 326eda1293d865345c3a76d5ebe7e9c3b455ec0d diff --git a/Makefile b/Makefile index 67c31c3..0b287e2 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ doc: build/html2vimdoc build/vim-tools -e ":a" -e "s/^(.{1,78})$$/ \1/" -e "ta" -e "# align right" \ -e "G" -e "# append the matched line after the command reference" \ -e "}" \ - -e "/^- '[^']*'$$/ {" \ + -e "/^- 'g:vim_markdown_[[:alnum:]_]*'$$/ {" \ -e "h" -e "# save the matched line to the hold space" \ -e "s/^- '([^']*)'$$/ \*\1\*/" -e "# make global variable reference" \ -e ":g" -e "s/^(.{1,78})$$/ \1/" -e "tg" -e "# align right" \