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
|
||||
|
||||
This option controls which diagnostics will be rendered by YCM. This option holds
|
||||
a dictionary of key-values, where the keys are Vim's filetype strings delimited by
|
||||
commas and values are dictionaries describing the filter.
|
||||
This option controls which diagnostics will be rendered by YCM. This option
|
||||
holds a dictionary of key-values, where the keys are Vim's filetype strings
|
||||
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,
|
||||
and the value is a list of arguments to that filter. In the case of just a single
|
||||
item in the list, you may omit the brackets and just provide the argument directly.
|
||||
If any filter matches a diagnostic, it will be dropped and YCM will not render it.
|
||||
and the value is a list of arguments to that filter. In the case of just a
|
||||
single item in the list, you may omit the brackets and just provide the argument
|
||||
directly. If any filter matches a diagnostic, it will be dropped and YCM will
|
||||
not render it.
|
||||
|
||||
The following filter types are supported:
|
||||
|
||||
- "regex": Accepts a string [regular expression][python-re]. This type matches
|
||||
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
|
||||
when the diagnostic has the same level.
|
||||
- "level": Accepts a string level, either "warning" or "error." This type
|
||||
matches when the diagnostic has the same level.
|
||||
|
||||
NOTE: The regex syntax is **NOT** Vim's, it's [Python's][python-re].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user