Ver código fonte

Docs for region syntax groups

Fixes #959
Strahinja Val Markovic 11 anos atrás
pai
commit
81029d9f4e
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -534,6 +534,12 @@ You can also style the line that has the warning/error with these groups:
 Note that the line highlighting groups only work when gutter signs are turned
 on.
 
+The syntax groups used to highlight regions of text with errors/warnings:
+- `YcmErrorSection`, which falls back to group `SyntasticError` if it exists and
+  then `SpellBad`
+- `YcmWarningSection`, which falls back to group `SyntasticWarning` if it exists
+  and then `SpellCap`
+
 Here's how you'd change the style for a group:
 
 ```