Skip to content

Commit f437868

Browse files
committed
Clarify that patterns are Lua patterns, not globs.
1 parent c73f9f5 commit f437868

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Fields:
4040
<a id="format.ignore_file_patterns"></a>
4141
## `format.ignore_file_patterns`
4242

43-
List of patterns that match filenames to ignore when formatting on save.
43+
List of Lua patterns that match filenames to ignore when formatting on save.
4444

4545
This is useful for projects with a top-level format config file, but subfolder dependencies
4646
whose code should not be formatted on save.

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ M.prefix_map = {['/**'] = ' *', ['---'] = '--'}
6666
-- @usage table.insert(format.ignore_footer_lines, '"""')
6767
M.ignore_footer_lines = {'*/'}
6868

69-
--- List of patterns that match filenames to ignore when formatting on save.
69+
--- List of Lua patterns that match filenames to ignore when formatting on save.
7070
-- This is useful for projects with a top-level format config file, but subfolder dependencies
7171
-- whose code should not be formatted on save.
7272
-- @usage table.insert(format.ignore_file_patterns, '/testdata/')

0 commit comments

Comments
 (0)