From e66aad013ed3f29b3023279d408e99f467633c02 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Mon, 10 Oct 2022 02:08:14 +0800 Subject: [PATCH] docs(option): add `:h SpaceVim-options-disabled_plugins` --- autoload/SpaceVim.vim | 7 +++ doc/SpaceVim.txt | 123 ++++++++++++++++++++++-------------------- 2 files changed, 73 insertions(+), 57 deletions(-) diff --git a/autoload/SpaceVim.vim b/autoload/SpaceVim.vim index 7d16d0886..05eaea2c5 100644 --- a/autoload/SpaceVim.vim +++ b/autoload/SpaceVim.vim @@ -1055,6 +1055,13 @@ let g:spacevim_github_username = '' "" " Set the default key for smart close windows, default is `q`. let g:spacevim_windows_smartclose = 'q' +"" +" @section disabled_plugins, options-disabled_plugins +" @parentsection options +" > +" disabled_plugins = ['vim-foo', 'vim-bar'] +" < + "" " Disable plugins by name. " > diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index 2d1cf8a36..cb0c89f28 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -32,63 +32,64 @@ CONTENTS *SpaceVim-contents* 12. data_dir.................................|SpaceVim-options-data_dir| 13. default_custom_leader.......|SpaceVim-options-default_custom_leader| 14. default_indent.....................|SpaceVim-options-default_indent| - 15. enable_bepo_layout.............|SpaceVim-options-enable_bepo_layout| - 16. enable_cursorcolumn...........|SpaceVim-options-enable_cursorcolumn| - 17. enable_cursorline...............|SpaceVim-options-enable_cursorline| - 18. enable_debug.........................|SpaceVim-options-enable_debug| - 19. enable_googlesuggest.........|SpaceVim-options-enable_googlesuggest| - 20. enable_guicolors.................|SpaceVim-options-enable_guicolors| - 21. enable_key_frequency.........|SpaceVim-options-enable_key_frequency| - 22. enable_projects_cache.......|SpaceVim-options-enable_projects_cache| - 23. enable_statusline_bfpath.|SpaceVim-options-enable_statusline_bfpath| - 24. enable_statusline_mode.....|SpaceVim-options-enable_statusline_mode| - 25. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag| - 26. enable_tabline_ft_icon.....|SpaceVim-options-enable_tabline_ft_icon| - 27. enable_vimfiler_welcome...|SpaceVim-options-enable_vimfiler_welcome| - 28. enable_ycm.............................|SpaceVim-options-enable_ycm| - 29. error_symbol.........................|SpaceVim-options-error_symbol| - 30. escape_key_binding.............|SpaceVim-options-escape_key_binding| - 31. expand_tab.............................|SpaceVim-options-expand_tab| - 32. file_searching_tools.........|SpaceVim-options-file_searching_tools| - 33. filemanager...........................|SpaceVim-options-filemanager| - 34. filetree_direction.............|SpaceVim-options-filetree_direction| - 35. guifont...................................|SpaceVim-options-guifont| - 36. home_files_number...............|SpaceVim-options-home_files_number| - 37. info_symbol...........................|SpaceVim-options-info_symbol| - 38. keep_server_alive...............|SpaceVim-options-keep_server_alive| - 39. language.................................|SpaceVim-options-language| - 40. lint_engine...........................|SpaceVim-options-lint_engine| - 41. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly| - 42. max_column.............................|SpaceVim-options-max_column| - 43. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir| - 44. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes| - 45. project_auto_root...............|SpaceVim-options-project_auto_root| - 46. project_non_root.................|SpaceVim-options-project_non_root| - 47. project_rooter_outermost.|SpaceVim-options-project_rooter_outermost| - 48. project_rooter_patterns...|SpaceVim-options-project_rooter_patterns| - 49. projects_cache_num.............|SpaceVim-options-projects_cache_num| - 50. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide| - 51. relativenumber.....................|SpaceVim-options-relativenumber| - 52. retry_cnt...............................|SpaceVim-options-retry_cnt| - 53. search_tools.........................|SpaceVim-options-search_tools| - 54. sidebar_width.......................|SpaceVim-options-sidebar_width| - 55. snippet_engine.....................|SpaceVim-options-snippet_engine| - 56. statusline_iseparator.......|SpaceVim-options-statusline_iseparator| - 57. statusline_left...................|SpaceVim-options-statusline_left| - 58. statusline_right.................|SpaceVim-options-statusline_right| - 59. statusline_separator.........|SpaceVim-options-statusline_separator| - 60. statusline_unicode.............|SpaceVim-options-statusline_unicode| - 61. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape| - 62. todo_labels...........................|SpaceVim-options-todo_labels| - 63. todo_prefix...........................|SpaceVim-options-todo_prefix| - 64. vim_help_language...............|SpaceVim-options-vim_help_language| - 65. vimcompatible.......................|SpaceVim-options-vimcompatible| - 66. warning_symbol.....................|SpaceVim-options-warning_symbol| - 67. wildignore.............................|SpaceVim-options-wildignore| - 68. windisk_encoding.................|SpaceVim-options-windisk_encoding| - 69. windows_index_type.............|SpaceVim-options-windows_index_type| - 70. windows_leader.....................|SpaceVim-options-windows_leader| - 71. windows_smartclose.............|SpaceVim-options-windows_smartclose| + 15. disabled_plugins.................|SpaceVim-options-disabled_plugins| + 16. enable_bepo_layout.............|SpaceVim-options-enable_bepo_layout| + 17. enable_cursorcolumn...........|SpaceVim-options-enable_cursorcolumn| + 18. enable_cursorline...............|SpaceVim-options-enable_cursorline| + 19. enable_debug.........................|SpaceVim-options-enable_debug| + 20. enable_googlesuggest.........|SpaceVim-options-enable_googlesuggest| + 21. enable_guicolors.................|SpaceVim-options-enable_guicolors| + 22. enable_key_frequency.........|SpaceVim-options-enable_key_frequency| + 23. enable_projects_cache.......|SpaceVim-options-enable_projects_cache| + 24. enable_statusline_bfpath.|SpaceVim-options-enable_statusline_bfpath| + 25. enable_statusline_mode.....|SpaceVim-options-enable_statusline_mode| + 26. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag| + 27. enable_tabline_ft_icon.....|SpaceVim-options-enable_tabline_ft_icon| + 28. enable_vimfiler_welcome...|SpaceVim-options-enable_vimfiler_welcome| + 29. enable_ycm.............................|SpaceVim-options-enable_ycm| + 30. error_symbol.........................|SpaceVim-options-error_symbol| + 31. escape_key_binding.............|SpaceVim-options-escape_key_binding| + 32. expand_tab.............................|SpaceVim-options-expand_tab| + 33. file_searching_tools.........|SpaceVim-options-file_searching_tools| + 34. filemanager...........................|SpaceVim-options-filemanager| + 35. filetree_direction.............|SpaceVim-options-filetree_direction| + 36. guifont...................................|SpaceVim-options-guifont| + 37. home_files_number...............|SpaceVim-options-home_files_number| + 38. info_symbol...........................|SpaceVim-options-info_symbol| + 39. keep_server_alive...............|SpaceVim-options-keep_server_alive| + 40. language.................................|SpaceVim-options-language| + 41. lint_engine...........................|SpaceVim-options-lint_engine| + 42. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly| + 43. max_column.............................|SpaceVim-options-max_column| + 44. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir| + 45. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes| + 46. project_auto_root...............|SpaceVim-options-project_auto_root| + 47. project_non_root.................|SpaceVim-options-project_non_root| + 48. project_rooter_outermost.|SpaceVim-options-project_rooter_outermost| + 49. project_rooter_patterns...|SpaceVim-options-project_rooter_patterns| + 50. projects_cache_num.............|SpaceVim-options-projects_cache_num| + 51. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide| + 52. relativenumber.....................|SpaceVim-options-relativenumber| + 53. retry_cnt...............................|SpaceVim-options-retry_cnt| + 54. search_tools.........................|SpaceVim-options-search_tools| + 55. sidebar_width.......................|SpaceVim-options-sidebar_width| + 56. snippet_engine.....................|SpaceVim-options-snippet_engine| + 57. statusline_iseparator.......|SpaceVim-options-statusline_iseparator| + 58. statusline_left...................|SpaceVim-options-statusline_left| + 59. statusline_right.................|SpaceVim-options-statusline_right| + 60. statusline_separator.........|SpaceVim-options-statusline_separator| + 61. statusline_unicode.............|SpaceVim-options-statusline_unicode| + 62. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape| + 63. todo_labels...........................|SpaceVim-options-todo_labels| + 64. todo_prefix...........................|SpaceVim-options-todo_prefix| + 65. vim_help_language...............|SpaceVim-options-vim_help_language| + 66. vimcompatible.......................|SpaceVim-options-vimcompatible| + 67. warning_symbol.....................|SpaceVim-options-warning_symbol| + 68. wildignore.............................|SpaceVim-options-wildignore| + 69. windisk_encoding.................|SpaceVim-options-windisk_encoding| + 70. windows_index_type.............|SpaceVim-options-windows_index_type| + 71. windows_leader.....................|SpaceVim-options-windows_leader| + 72. windows_smartclose.............|SpaceVim-options-windows_smartclose| 3. Configuration...........................................|SpaceVim-config| 4. Commands..............................................|SpaceVim-commands| 5. Public functions.....................................|SpaceVim-functions| @@ -441,6 +442,14 @@ Change the default indentation of SpaceVim. Default is 2. default_indent = 2 < +============================================================================== +DISABLED_PLUGINS *SpaceVim-options-disabled_plugins* + + +> + disabled_plugins = ['vim-foo', 'vim-bar'] +< + ============================================================================== ENABLE_BEPO_LAYOUT *SpaceVim-options-enable_bepo_layout*