Add some documentation for g:ycm_quiet_messages

This commit is contained in:
dhleong 2016-10-10 19:31:10 -04:00
parent ca29f6abe8
commit abc0dd5e31

View File

@ -88,41 +88,42 @@ Contents ~
9. The |g:ycm_warning_symbol| option 9. The |g:ycm_warning_symbol| option
10. The |g:ycm_enable_diagnostic_signs| option 10. The |g:ycm_enable_diagnostic_signs| option
11. The |g:ycm_enable_diagnostic_highlighting| option 11. The |g:ycm_enable_diagnostic_highlighting| option
12. The |g:ycm_echo_current_diagnostic| option 12. The |g:ycm_quiet_messages| option
13. The |g:ycm_always_populate_location_list| option 13. The |g:ycm_echo_current_diagnostic| option
14. The |g:ycm_open_loclist_on_ycm_diags| option 14. The |g:ycm_always_populate_location_list| option
15. The |g:ycm_allow_changing_updatetime| option 15. The |g:ycm_open_loclist_on_ycm_diags| option
16. The |g:ycm_complete_in_comments| option 16. The |g:ycm_allow_changing_updatetime| option
17. The |g:ycm_complete_in_strings| option 17. The |g:ycm_complete_in_comments| option
18. The |g:ycm_collect_identifiers_from_comments_and_strings| option 18. The |g:ycm_complete_in_strings| option
19. The |g:ycm_collect_identifiers_from_tags_files| option 19. The |g:ycm_collect_identifiers_from_comments_and_strings| option
20. The |g:ycm_seed_identifiers_with_syntax| option 20. The |g:ycm_collect_identifiers_from_tags_files| option
21. The |g:ycm_extra_conf_vim_data| option 21. The |g:ycm_seed_identifiers_with_syntax| option
22. The |g:ycm_server_python_interpreter| option 22. The |g:ycm_extra_conf_vim_data| option
23. The |g:ycm_server_keep_logfiles| option 23. The |g:ycm_server_python_interpreter| option
24. The |g:ycm_server_log_level| option 24. The |g:ycm_server_keep_logfiles| option
25. The |g:ycm_auto_start_csharp_server| option 25. The |g:ycm_server_log_level| option
26. The |g:ycm_auto_stop_csharp_server| option 26. The |g:ycm_auto_start_csharp_server| option
27. The |g:ycm_csharp_server_port| option 27. The |g:ycm_auto_stop_csharp_server| option
28. The |g:ycm_csharp_insert_namespace_expr| option 28. The |g:ycm_csharp_server_port| option
29. The |g:ycm_add_preview_to_completeopt| option 29. The |g:ycm_csharp_insert_namespace_expr| option
30. The |g:ycm_autoclose_preview_window_after_completion| option 30. The |g:ycm_add_preview_to_completeopt| option
31. The |g:ycm_autoclose_preview_window_after_insertion| option 31. The |g:ycm_autoclose_preview_window_after_completion| option
32. The |g:ycm_max_diagnostics_to_display| option 32. The |g:ycm_autoclose_preview_window_after_insertion| option
33. The |g:ycm_key_list_select_completion| option 33. The |g:ycm_max_diagnostics_to_display| option
34. The |g:ycm_key_list_previous_completion| option 34. The |g:ycm_key_list_select_completion| option
35. The |g:ycm_key_invoke_completion| option 35. The |g:ycm_key_list_previous_completion| option
36. The |g:ycm_key_detailed_diagnostics| option 36. The |g:ycm_key_invoke_completion| option
37. The |g:ycm_global_ycm_extra_conf| option 37. The |g:ycm_key_detailed_diagnostics| option
38. The |g:ycm_confirm_extra_conf| option 38. The |g:ycm_global_ycm_extra_conf| option
39. The |g:ycm_extra_conf_globlist| option 39. The |g:ycm_confirm_extra_conf| option
40. The |g:ycm_filepath_completion_use_working_dir| option 40. The |g:ycm_extra_conf_globlist| option
41. The |g:ycm_semantic_triggers| option 41. The |g:ycm_filepath_completion_use_working_dir| option
42. The |g:ycm_cache_omnifunc| option 42. The |g:ycm_semantic_triggers| option
43. The |g:ycm_use_ultisnips_completer| option 43. The |g:ycm_cache_omnifunc| option
44. The |g:ycm_goto_buffer_command| option 44. The |g:ycm_use_ultisnips_completer| option
45. The |g:ycm_disable_for_files_larger_than_kb| option 45. The |g:ycm_goto_buffer_command| option
46. The |g:ycm_python_binary_path| option 46. The |g:ycm_disable_for_files_larger_than_kb| option
47. The |g:ycm_python_binary_path| option
11. FAQ |youcompleteme-faq| 11. FAQ |youcompleteme-faq|
1. I used to be able to 'import vim' in '.ycm_extra_conf.py', but now can't |import-vim| 1. I used to be able to 'import vim' in '.ycm_extra_conf.py', but now can't |import-vim|
2. On very rare occasions Vim crashes when I tab through the completion menu |youcompleteme-on-very-rare-occasions-vim-crashes-when-i-tab-through-completion-menu| 2. On very rare occasions Vim crashes when I tab through the completion menu |youcompleteme-on-very-rare-occasions-vim-crashes-when-i-tab-through-completion-menu|
@ -2065,6 +2066,33 @@ Default: '1'
let g:ycm_enable_diagnostic_highlighting = 1 let g:ycm_enable_diagnostic_highlighting = 1
< <
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
The *g:ycm_quiet_messages* option
When this option is set, YCM will suppress any diagnostic items that would
otherwise be displayed that match any of the rules provided. The value is a
dictionary which should be set to something like:
>
let g:ycm_quiet_messages = {
\ "!level": "errors",
\ "regex": '\m\[C03\d\d\]' }
<
This option is part of the Syntastic compatibility layer; if the option is not
set, YCM will fall back to the value of the 'g:syntastic_quiet_messages'
option before using this option's default.
See |syntastic_quiet_messages| for more details, as this option follows that
one. Currently, only "level" and "regex" rules are supported; unsupported rule
types are ignored.
As in Syntastic, there are also filetype-specific variants of this option, which
will be used in preference to this if they exist.
They are named |'ycm_<filetype>_quiet_messages'|.
Default: '{}'
>
let g:ycm_quiet_messages = {}
<
-------------------------------------------------------------------------------
The *g:ycm_echo_current_diagnostic* option The *g:ycm_echo_current_diagnostic* option
When this option is set, YCM will echo the text of the diagnostic present on When this option is set, YCM will echo the text of the diagnostic present on