From: onescriptkid <onescriptkid@gmail.com>
Date: Thu, 14 Jul 2022 23:51:18 +0000 (-0700)
Subject: Fix typo in config docs for --extend-exclude (#3170)
X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/b0eed7c6bd5f04f0ea6b6592d8a3ab63d8a01252?ds=sidebyside

Fix typo in config docs for --extend-exclude (#3170)

The old regex in the example was invalid and caused an error on startup.
---

diff --git a/docs/usage_and_configuration/the_basics.md b/docs/usage_and_configuration/the_basics.md
index 7f76c57..4c35874 100644
--- a/docs/usage_and_configuration/the_basics.md
+++ b/docs/usage_and_configuration/the_basics.md
@@ -265,7 +265,7 @@ extend-exclude = '''
 # in the root of the project.
 (
   ^/foo.py    # exclude a file named foo.py in the root of the project
-  | *_pb2.py  # exclude autogenerated Protocol Buffer files anywhere in the project
+  | .*_pb2.py  # exclude autogenerated Protocol Buffer files anywhere in the project
 )
 '''
 ```