Wrap README.md to 80 chars
This commit is contained in:
parent
04c48e48c4
commit
7e12c127cf
17
README.md
17
README.md
@ -1805,21 +1805,22 @@ let g:ycm_echo_current_diagnostic = 1
|
|||||||
|
|
||||||
### The `g:ycm_filter_diagnostics` option
|
### The `g:ycm_filter_diagnostics` option
|
||||||
|
|
||||||
This option controls which diagnostics will be rendered by YCM. This option holds
|
This option controls which diagnostics will be rendered by YCM. This option
|
||||||
a dictionary of key-values, where the keys are Vim's filetype strings delimited by
|
holds a dictionary of key-values, where the keys are Vim's filetype strings
|
||||||
commas and values are dictionaries describing the filter.
|
delimited by commas and values are dictionaries describing the filter.
|
||||||
|
|
||||||
A filter is a dictionary of key-values, where the keys are the type of filter,
|
A filter is a dictionary of key-values, where the keys are the type of filter,
|
||||||
and the value is a list of arguments to that filter. In the case of just a single
|
and the value is a list of arguments to that filter. In the case of just a
|
||||||
item in the list, you may omit the brackets and just provide the argument directly.
|
single item in the list, you may omit the brackets and just provide the argument
|
||||||
If any filter matches a diagnostic, it will be dropped and YCM will not render it.
|
directly. If any filter matches a diagnostic, it will be dropped and YCM will
|
||||||
|
not render it.
|
||||||
|
|
||||||
The following filter types are supported:
|
The following filter types are supported:
|
||||||
|
|
||||||
- "regex": Accepts a string [regular expression][python-re]. This type matches
|
- "regex": Accepts a string [regular expression][python-re]. This type matches
|
||||||
when the regex (treated as case-insensitive) is found in the diagnostic text.
|
when the regex (treated as case-insensitive) is found in the diagnostic text.
|
||||||
- "level": Accepts a string level, either "warning" or "error." This type matches
|
- "level": Accepts a string level, either "warning" or "error." This type
|
||||||
when the diagnostic has the same level.
|
matches when the diagnostic has the same level.
|
||||||
|
|
||||||
NOTE: The regex syntax is **NOT** Vim's, it's [Python's][python-re].
|
NOTE: The regex syntax is **NOT** Vim's, it's [Python's][python-re].
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user