Browse Source

expand code block pattern again for ```custom_prompt(foo$)

One of these days I should really just write a test file and find all the
breakage.
Brennen Bearnes 4 years ago
parent
commit
a1c23ff93c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      syntax/markdown.vim

+ 1
- 1
syntax/markdown.vim View File

@@ -72,7 +72,7 @@ syn region mkdCode         start=/\s*``[^`]*/              end=/[^`]*``\s*/
72 72
 
73 73
 "code block...
74 74
 syn region mkdCode         start=/^\s*```\s*[0-9A-Za-z_-]*\s*$/          end=/^\s*```\s*$/
75
-syn region mkdCode         start=/^\s*```[0-9A-Za-z_-]*\s*[0-9A-Za-z_-]*\s*$/          end=/^\s*```\s*$/
75
+syn region mkdCode         start=/^\s*```[0-9A-Za-z_$()-]*\s*[0-9A-Za-z_-]*\s*$/          end=/^\s*```\s*$/
76 76
 
77 77
 syn region mkdCode         start=/\s*\~\~[^\~]*/              end=/[^\~]*\~\~\s*/
78 78
 syn region mkdCode         start=/^\s*\~\~\~\s*[0-9A-Za-z_-]*\s*$/          end=/^\s*\~\~\~\s*$/

Loading…
Cancel
Save