1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 08:50:06 +08:00

feat(layer): add layer option for filetree columns

the spacevim option for vimfiler columns is too long,
move them to core layer.
This commit is contained in:
Shidong Wang 2021-09-20 16:33:25 +08:00
parent 5866f07bb9
commit 6a1437f49f
5 changed files with 206 additions and 192 deletions

View File

@ -1195,24 +1195,6 @@ let g:spacevim_enable_vimfiler_welcome = 1
"" ""
" Enable/Disable autocompletion of parentheses, default is 1 (enabled). " Enable/Disable autocompletion of parentheses, default is 1 (enabled).
let g:spacevim_autocomplete_parens = 1 let g:spacevim_autocomplete_parens = 1
""
" @section enable_filetree_gitstatus, options-enable_filetree_gitstatus
" @parentsection options
" Enable/Disable gitstatus column in filetree buffer, default is false.
" >
" enable_filetree_gitstatus = false
" <
" NOTE: the `enable_vimfiler_gitstatus` option has been deprecated.
" *spacevim-options-enable_vimfiler_gitstatus*
" *g:spacevim_enable_vimfiler_gitstatus*
""
" Enable/Disable gitstatus column in filetree buffer, default is 0.
let g:spacevim_enable_filetree_gitstatus = 0
let g:spacevim_enable_vimfiler_gitstatus = 0
""
" Enable/Disable filetypeicon column in vimfiler buffer, default is 0.
let g:spacevim_enable_vimfiler_filetypeicon = 0
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default'] let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
let g:spacevim_smartcloseignoreft = [ let g:spacevim_smartcloseignoreft = [
\ 'tagbar', \ 'tagbar',

View File

@ -7,6 +7,27 @@
"============================================================================= "=============================================================================
scriptencoding utf-8 scriptencoding utf-8
""
" @section core, layer-core
" @parentsection layers
" The `core` layer of SpaceVim. This layer is enabled by default,
" and it provides filetree, comment key bindings etc.
"
" @subsection options
" - `filetree_show_hidden`: option for showing hidden file in filetree,
" disabled by default.
" - `enable_smooth_scrolling`: enable/disabled smooth scrolling key bindings,
" enabled by default.
" - `enable_filetree_gitstatus`: enable/disable git status column in filetree.
" - `enable_filetree_filetypeicon`: enable/disable filetype icons in filetree.
"
" NOTE: the `enable_vimfiler_gitstatus` and `enable_filetree_gitstatus` option
" has been deprecated. Use layer option instead.
" *spacevim-options-enable_vimfiler_gitstatus*
" *spacevim-options-enable_filetree_gitstatus*
" *g:spacevim_enable_vimfiler_gitstatus*
" *g:spacevim_enable_filetree_gitstatus*
" *g:spacevim_enable_vimfiler_filetypeicon*
if exists('s:string_hi') if exists('s:string_hi')
finish finish
@ -14,6 +35,9 @@ endif
let s:enable_smooth_scrolling = 1 let s:enable_smooth_scrolling = 1
let g:_spacevim_enable_filetree_gitstatus = 0
let g:_spacevim_enable_filetree_filetypeicon = 0
" disabel netrw " disabel netrw
let g:loaded_netrwPlugin = 1 let g:loaded_netrwPlugin = 1
@ -36,7 +60,7 @@ function! SpaceVim#layers#core#plugins() abort
if g:spacevim_filemanager ==# 'nerdtree' if g:spacevim_filemanager ==# 'nerdtree'
call add(plugins, [g:_spacevim_root_dir . 'bundle/nerdtree', { 'merged' : 0, call add(plugins, [g:_spacevim_root_dir . 'bundle/nerdtree', { 'merged' : 0,
\ 'loadconf' : 1}]) \ 'loadconf' : 1}])
if g:spacevim_enable_filetree_gitstatus if g:_spacevim_enable_filetree_gitstatus
call add(plugins, [g:_spacevim_root_dir . 'bundle/nerdtree-git-plugin', { 'merged' : 0, call add(plugins, [g:_spacevim_root_dir . 'bundle/nerdtree-git-plugin', { 'merged' : 0,
\ 'loadconf' : 1}]) \ 'loadconf' : 1}])
endif endif
@ -958,7 +982,12 @@ function! SpaceVim#layers#core#set_variable(var) abort
let s:enable_smooth_scrolling = get(a:var, let s:enable_smooth_scrolling = get(a:var,
\ 'enable_smooth_scrolling', \ 'enable_smooth_scrolling',
\ s:enable_smooth_scrolling) \ s:enable_smooth_scrolling)
let g:_spacevim_enable_filetree_filetypeicon = get(a:var,
\ 'enable_filetree_filetypeicon',
\ g:_spacevim_enable_filetree_filetypeicon)
let g:_spacevim_enable_filetree_gitstatus = get(a:var,
\ 'enable_filetree_gitstatus',
\ g:_spacevim_enable_filetree_gitstatus)
endfunction endfunction
function! SpaceVim#layers#core#get_options() abort function! SpaceVim#layers#core#get_options() abort

View File

@ -19,11 +19,11 @@ else
endif endif
function! s:setcolum() abort function! s:setcolum() abort
if g:spacevim_enable_vimfiler_filetypeicon && !g:spacevim_enable_filetree_gitstatus if g:_spacevim_enable_filetree_filetypeicon && !g:_spacevim_enable_filetree_gitstatus
return 'indent:icons:filename:type' return 'indent:icons:filename:type'
elseif !g:spacevim_enable_vimfiler_filetypeicon && g:spacevim_enable_filetree_gitstatus elseif !g:_spacevim_enable_filetree_filetypeicon && g:_spacevim_enable_filetree_gitstatus
return 'indent:git:filename:type' return 'indent:git:filename:type'
elseif g:spacevim_enable_vimfiler_filetypeicon && g:spacevim_enable_filetree_gitstatus elseif g:_spacevim_enable_filetree_filetypeicon && g:_spacevim_enable_filetree_gitstatus
return 'indent:git:icons:filename:type' return 'indent:git:icons:filename:type'
else else
return 'mark:indent:icon:filename:type' return 'mark:indent:icon:filename:type'

View File

@ -35,11 +35,11 @@ else
endif endif
function! s:setcolum() abort function! s:setcolum() abort
if g:spacevim_enable_vimfiler_filetypeicon && !g:spacevim_enable_filetree_gitstatus if g:_spacevim_enable_filetree_filetypeicon && !g:_spacevim_enable_filetree_gitstatus
return 'filetypeicon' return 'filetypeicon'
elseif !g:spacevim_enable_vimfiler_filetypeicon && g:spacevim_enable_filetree_gitstatus elseif !g:_spacevim_enable_filetree_filetypeicon && g:_spacevim_enable_filetree_gitstatus
return 'gitstatus' return 'gitstatus'
elseif g:spacevim_enable_vimfiler_filetypeicon && g:spacevim_enable_filetree_gitstatus elseif g:_spacevim_enable_filetree_filetypeicon && g:_spacevim_enable_filetree_gitstatus
return 'filetypeicon:gitstatus' return 'filetypeicon:gitstatus'
else else
return '' return ''

View File

@ -31,56 +31,54 @@ CONTENTS *SpaceVim-contents*
11. enable_cursorcolumn...........|SpaceVim-options-enable_cursorcolumn| 11. enable_cursorcolumn...........|SpaceVim-options-enable_cursorcolumn|
12. enable_cursorline...............|SpaceVim-options-enable_cursorline| 12. enable_cursorline...............|SpaceVim-options-enable_cursorline|
13. enable_debug.........................|SpaceVim-options-enable_debug| 13. enable_debug.........................|SpaceVim-options-enable_debug|
14. enable_filetree_gitstatus 14. enable_googlesuggest.........|SpaceVim-options-enable_googlesuggest|
..................................|SpaceVim-options-enable_filetree_gitstatus| 15. enable_guicolors.................|SpaceVim-options-enable_guicolors|
15. enable_googlesuggest.........|SpaceVim-options-enable_googlesuggest| 16. enable_key_frequency.........|SpaceVim-options-enable_key_frequency|
16. enable_guicolors.................|SpaceVim-options-enable_guicolors| 17. enable_projects_cache.......|SpaceVim-options-enable_projects_cache|
17. enable_key_frequency.........|SpaceVim-options-enable_key_frequency| 18. enable_statusline_bfpath.|SpaceVim-options-enable_statusline_bfpath|
18. enable_projects_cache.......|SpaceVim-options-enable_projects_cache| 19. enable_statusline_mode.....|SpaceVim-options-enable_statusline_mode|
19. enable_statusline_bfpath.|SpaceVim-options-enable_statusline_bfpath| 20. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag|
20. enable_statusline_mode.....|SpaceVim-options-enable_statusline_mode| 21. enable_tabline_ft_icon.....|SpaceVim-options-enable_tabline_ft_icon|
21. enable_statusline_tag.......|SpaceVim-options-enable_statusline_tag| 22. enable_vimfiler_welcome...|SpaceVim-options-enable_vimfiler_welcome|
22. enable_tabline_ft_icon.....|SpaceVim-options-enable_tabline_ft_icon| 23. enable_ycm.............................|SpaceVim-options-enable_ycm|
23. enable_vimfiler_welcome...|SpaceVim-options-enable_vimfiler_welcome| 24. error_symbol.........................|SpaceVim-options-error_symbol|
24. enable_ycm.............................|SpaceVim-options-enable_ycm| 25. escape_key_binding.............|SpaceVim-options-escape_key_binding|
25. error_symbol.........................|SpaceVim-options-error_symbol| 26. file_searching_tools.........|SpaceVim-options-file_searching_tools|
26. escape_key_binding.............|SpaceVim-options-escape_key_binding| 27. filemanager...........................|SpaceVim-options-filemanager|
27. file_searching_tools.........|SpaceVim-options-file_searching_tools| 28. filetree_direction.............|SpaceVim-options-filetree_direction|
28. filemanager...........................|SpaceVim-options-filemanager| 29. guifont...................................|SpaceVim-options-guifont|
29. filetree_direction.............|SpaceVim-options-filetree_direction| 30. home_files_number...............|SpaceVim-options-home_files_number|
30. guifont...................................|SpaceVim-options-guifont| 31. info_symbol...........................|SpaceVim-options-info_symbol|
31. home_files_number...............|SpaceVim-options-home_files_number| 32. keep_server_alive...............|SpaceVim-options-keep_server_alive|
32. info_symbol...........................|SpaceVim-options-info_symbol| 33. language.................................|SpaceVim-options-language|
33. keep_server_alive...............|SpaceVim-options-keep_server_alive| 34. lint_engine...........................|SpaceVim-options-lint_engine|
34. language.................................|SpaceVim-options-language| 35. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly|
35. lint_engine...........................|SpaceVim-options-lint_engine| 36. max_column.............................|SpaceVim-options-max_column|
36. lint_on_the_fly...................|SpaceVim-options-lint_on_the_fly| 37. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir|
37. max_column.............................|SpaceVim-options-max_column| 38. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes|
38. plugin_bundle_dir...............|SpaceVim-options-plugin_bundle_dir| 39. project_rooter_automatically
39. plugin_manager_processes.|SpaceVim-options-plugin_manager_processes|
40. project_rooter_automatically
...............................|SpaceVim-options-project_rooter_automatically| ...............................|SpaceVim-options-project_rooter_automatically|
41. project_rooter_outermost.|SpaceVim-options-project_rooter_outermost| 40. project_rooter_outermost.|SpaceVim-options-project_rooter_outermost|
42. project_rooter_patterns...|SpaceVim-options-project_rooter_patterns| 41. project_rooter_patterns...|SpaceVim-options-project_rooter_patterns|
43. projects_cache_num.............|SpaceVim-options-projects_cache_num| 42. projects_cache_num.............|SpaceVim-options-projects_cache_num|
44. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide| 43. realtime_leader_guide.......|SpaceVim-options-realtime_leader_guide|
45. relativenumber.....................|SpaceVim-options-relativenumber| 44. relativenumber.....................|SpaceVim-options-relativenumber|
46. retry_cnt...............................|SpaceVim-options-retry_cnt| 45. retry_cnt...............................|SpaceVim-options-retry_cnt|
47. search_tools.........................|SpaceVim-options-search_tools| 46. search_tools.........................|SpaceVim-options-search_tools|
48. sidebar_width.......................|SpaceVim-options-sidebar_width| 47. sidebar_width.......................|SpaceVim-options-sidebar_width|
49. snippet_engine.....................|SpaceVim-options-snippet_engine| 48. snippet_engine.....................|SpaceVim-options-snippet_engine|
50. statusline_iseparator.......|SpaceVim-options-statusline_iseparator| 49. statusline_iseparator.......|SpaceVim-options-statusline_iseparator|
51. statusline_left_sections.|SpaceVim-options-statusline_left_sections| 50. statusline_left_sections.|SpaceVim-options-statusline_left_sections|
52. statusline_separator.........|SpaceVim-options-statusline_separator| 51. statusline_separator.........|SpaceVim-options-statusline_separator|
53. statusline_unicode_symbols 52. statusline_unicode_symbols
.................................|SpaceVim-options-statusline_unicode_symbols| .................................|SpaceVim-options-statusline_unicode_symbols|
54. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape| 53. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape|
55. vim_help_language...............|SpaceVim-options-vim_help_language| 54. vim_help_language...............|SpaceVim-options-vim_help_language|
56. vimcompatible.......................|SpaceVim-options-vimcompatible| 55. vimcompatible.......................|SpaceVim-options-vimcompatible|
57. warning_symbol.....................|SpaceVim-options-warning_symbol| 56. warning_symbol.....................|SpaceVim-options-warning_symbol|
58. windows_index_type.............|SpaceVim-options-windows_index_type| 57. windows_index_type.............|SpaceVim-options-windows_index_type|
59. windows_leader.....................|SpaceVim-options-windows_leader| 58. windows_leader.....................|SpaceVim-options-windows_leader|
60. windows_smartclose.............|SpaceVim-options-windows_smartclose| 59. windows_smartclose.............|SpaceVim-options-windows_smartclose|
3. Configuration...........................................|SpaceVim-config| 3. Configuration...........................................|SpaceVim-config|
4. Commands..............................................|SpaceVim-commands| 4. Commands..............................................|SpaceVim-commands|
5. Functions............................................|SpaceVim-functions| 5. Functions............................................|SpaceVim-functions|
@ -88,107 +86,108 @@ CONTENTS *SpaceVim-contents*
1. autocomplete............................|SpaceVim-layer-autocomplete| 1. autocomplete............................|SpaceVim-layer-autocomplete|
2. checkers....................................|SpaceVim-layer-checkers| 2. checkers....................................|SpaceVim-layer-checkers|
3. colorscheme..............................|SpaceVim-layer-colorscheme| 3. colorscheme..............................|SpaceVim-layer-colorscheme|
4. core#statusline......................|SpaceVim-layer-core-statusline| 4. core............................................|SpaceVim-layer-core|
5. core#tabline............................|SpaceVim-layer-core-tabline| 5. core#statusline......................|SpaceVim-layer-core-statusline|
6. exprfold....................................|SpaceVim-layer-exprfold| 6. core#tabline............................|SpaceVim-layer-core-tabline|
7. format........................................|SpaceVim-layer-format| 7. exprfold....................................|SpaceVim-layer-exprfold|
8. git..............................................|SpaceVim-layer-git| 8. format........................................|SpaceVim-layer-format|
9. github........................................|SpaceVim-layer-github| 9. git..............................................|SpaceVim-layer-git|
10. incsearch.................................|SpaceVim-layer-incsearch| 10. github.......................................|SpaceVim-layer-github|
11. indentmove...............................|SpaceVim-layer-indentmove| 11. incsearch.................................|SpaceVim-layer-incsearch|
12. lang#actionscript.................|SpaceVim-layer-lang-actionscript| 12. indentmove...............................|SpaceVim-layer-indentmove|
13. lang#agda.................................|SpaceVim-layer-lang-agda| 13. lang#actionscript.................|SpaceVim-layer-lang-actionscript|
14. lang#asciidoc.........................|SpaceVim-layer-lang-asciidoc| 14. lang#agda.................................|SpaceVim-layer-lang-agda|
15. lang#asepctj...........................|SpaceVim-layer-lang-asepctj| 15. lang#asciidoc.........................|SpaceVim-layer-lang-asciidoc|
16. lang#assembly.........................|SpaceVim-layer-lang-assembly| 16. lang#asepctj...........................|SpaceVim-layer-lang-asepctj|
17. lang#autohotkey.....................|SpaceVim-layer-lang-autohotkey| 17. lang#assembly.........................|SpaceVim-layer-lang-assembly|
18. lang#batch...............................|SpaceVim-layer-lang-batch| 18. lang#autohotkey.....................|SpaceVim-layer-lang-autohotkey|
19. lang#c.......................................|SpaceVim-layer-lang-c| 19. lang#batch...............................|SpaceVim-layer-lang-batch|
20. lang#chapel.............................|SpaceVim-layer-lang-chapel| 20. lang#c.......................................|SpaceVim-layer-lang-c|
21. lang#clojure...........................|SpaceVim-layer-lang-clojure| 21. lang#chapel.............................|SpaceVim-layer-lang-chapel|
22. lang#coffeescript.................|SpaceVim-layer-lang-coffeescript| 22. lang#clojure...........................|SpaceVim-layer-lang-clojure|
23. lang#crystal...........................|SpaceVim-layer-lang-crystal| 23. lang#coffeescript.................|SpaceVim-layer-lang-coffeescript|
24. lang#csharp.............................|SpaceVim-layer-lang-csharp| 24. lang#crystal...........................|SpaceVim-layer-lang-crystal|
25. lang#d.......................................|SpaceVim-layer-lang-d| 25. lang#csharp.............................|SpaceVim-layer-lang-csharp|
26. lang#dart.................................|SpaceVim-layer-lang-dart| 26. lang#d.......................................|SpaceVim-layer-lang-d|
27. lang#dockerfile.....................|SpaceVim-layer-lang-dockerfile| 27. lang#dart.................................|SpaceVim-layer-lang-dart|
28. lang#e.......................................|SpaceVim-layer-lang-e| 28. lang#dockerfile.....................|SpaceVim-layer-lang-dockerfile|
29. lang#eiffel.............................|SpaceVim-layer-lang-eiffel| 29. lang#e.......................................|SpaceVim-layer-lang-e|
30. lang#elixir.............................|SpaceVim-layer-lang-elixir| 30. lang#eiffel.............................|SpaceVim-layer-lang-eiffel|
31. lang#elm...................................|SpaceVim-layer-lang-elm| 31. lang#elixir.............................|SpaceVim-layer-lang-elixir|
32. lang#erlang.............................|SpaceVim-layer-lang-erlang| 32. lang#elm...................................|SpaceVim-layer-lang-elm|
33. lang#extra...............................|SpaceVim-layer-lang-extra| 33. lang#erlang.............................|SpaceVim-layer-lang-erlang|
34. lang#forth...............................|SpaceVim-layer-lang-forth| 34. lang#extra...............................|SpaceVim-layer-lang-extra|
35. lang#fortran...........................|SpaceVim-layer-lang-fortran| 35. lang#forth...............................|SpaceVim-layer-lang-forth|
36. lang#foxpro.............................|SpaceVim-layer-lang-foxpro| 36. lang#fortran...........................|SpaceVim-layer-lang-fortran|
37. lang#fsharp.............................|SpaceVim-layer-lang-fsharp| 37. lang#foxpro.............................|SpaceVim-layer-lang-foxpro|
38. lang#go.....................................|SpaceVim-layer-lang-go| 38. lang#fsharp.............................|SpaceVim-layer-lang-fsharp|
39. lang#goby.................................|SpaceVim-layer-lang-goby| 39. lang#go.....................................|SpaceVim-layer-lang-go|
40. lang#gosu.................................|SpaceVim-layer-lang-gosu| 40. lang#goby.................................|SpaceVim-layer-lang-goby|
41. lang#graphql...........................|SpaceVim-layer-lang-graphql| 41. lang#gosu.................................|SpaceVim-layer-lang-gosu|
42. lang#groovy.............................|SpaceVim-layer-lang-groovy| 42. lang#graphql...........................|SpaceVim-layer-lang-graphql|
43. lang#hack.................................|SpaceVim-layer-lang-hack| 43. lang#groovy.............................|SpaceVim-layer-lang-groovy|
44. lang#haskell...........................|SpaceVim-layer-lang-haskell| 44. lang#hack.................................|SpaceVim-layer-lang-hack|
45. lang#html.................................|SpaceVim-layer-lang-html| 45. lang#haskell...........................|SpaceVim-layer-lang-haskell|
46. lang#hy.....................................|SpaceVim-layer-lang-hy| 46. lang#html.................................|SpaceVim-layer-lang-html|
47. lang#idris...............................|SpaceVim-layer-lang-idris| 47. lang#hy.....................................|SpaceVim-layer-lang-hy|
48. lang#io.....................................|SpaceVim-layer-lang-io| 48. lang#idris...............................|SpaceVim-layer-lang-idris|
49. lang#j.......................................|SpaceVim-layer-lang-j| 49. lang#io.....................................|SpaceVim-layer-lang-io|
50. lang#janet...............................|SpaceVim-layer-lang-janet| 50. lang#j.......................................|SpaceVim-layer-lang-j|
51. lang#java.................................|SpaceVim-layer-lang-java| 51. lang#janet...............................|SpaceVim-layer-lang-janet|
52. lang#javascript.....................|SpaceVim-layer-lang-javascript| 52. lang#java.................................|SpaceVim-layer-lang-java|
53. lang#json.................................|SpaceVim-layer-lang-json| 53. lang#javascript.....................|SpaceVim-layer-lang-javascript|
54. lang#julia...............................|SpaceVim-layer-lang-julia| 54. lang#json.................................|SpaceVim-layer-lang-json|
55. lang#kotlin.............................|SpaceVim-layer-lang-kotlin| 55. lang#julia...............................|SpaceVim-layer-lang-julia|
56. lang#latex...............................|SpaceVim-layer-lang-latex| 56. lang#kotlin.............................|SpaceVim-layer-lang-kotlin|
57. lang#lisp.................................|SpaceVim-layer-lang-lisp| 57. lang#latex...............................|SpaceVim-layer-lang-latex|
58. lang#livescript.....................|SpaceVim-layer-lang-livescript| 58. lang#lisp.................................|SpaceVim-layer-lang-lisp|
59. lang#lua...................................|SpaceVim-layer-lang-lua| 59. lang#livescript.....................|SpaceVim-layer-lang-livescript|
60. lang#markdown.........................|SpaceVim-layer-lang-markdown| 60. lang#lua...................................|SpaceVim-layer-lang-lua|
61. lang#moonscript.....................|SpaceVim-layer-lang-moonscript| 61. lang#markdown.........................|SpaceVim-layer-lang-markdown|
62. lang#nim...................................|SpaceVim-layer-lang-nim| 62. lang#moonscript.....................|SpaceVim-layer-lang-moonscript|
63. lang#nix...................................|SpaceVim-layer-lang-nix| 63. lang#nim...................................|SpaceVim-layer-lang-nim|
64. lang#ocaml...............................|SpaceVim-layer-lang-ocaml| 64. lang#nix...................................|SpaceVim-layer-lang-nix|
65. lang#pact.................................|SpaceVim-layer-lang-pact| 65. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
66. lang#pascal.............................|SpaceVim-layer-lang-pascal| 66. lang#pact.................................|SpaceVim-layer-lang-pact|
67. lang#perl.................................|SpaceVim-layer-lang-perl| 67. lang#pascal.............................|SpaceVim-layer-lang-pascal|
68. lang#php...................................|SpaceVim-layer-lang-php| 68. lang#perl.................................|SpaceVim-layer-lang-perl|
69. lang#pony.................................|SpaceVim-layer-lang-pony| 69. lang#php...................................|SpaceVim-layer-lang-php|
70. lang#processing.....................|SpaceVim-layer-lang-processing| 70. lang#pony.................................|SpaceVim-layer-lang-pony|
71. lang#prolog.............................|SpaceVim-layer-lang-prolog| 71. lang#processing.....................|SpaceVim-layer-lang-processing|
72. lang#puppet.............................|SpaceVim-layer-lang-puppet| 72. lang#prolog.............................|SpaceVim-layer-lang-prolog|
73. lang#purescript.....................|SpaceVim-layer-lang-purescript| 73. lang#puppet.............................|SpaceVim-layer-lang-puppet|
74. lang#python.............................|SpaceVim-layer-lang-python| 74. lang#purescript.....................|SpaceVim-layer-lang-purescript|
75. lang#racket.............................|SpaceVim-layer-lang-racket| 75. lang#python.............................|SpaceVim-layer-lang-python|
76. lang#racket................................|SpaceVim-layer-lang-red| 76. lang#racket.............................|SpaceVim-layer-lang-racket|
77. lang#reason.............................|SpaceVim-layer-lang-reason| 77. lang#racket................................|SpaceVim-layer-lang-red|
78. lang#ring....................................|SpaceVim-layer-lang-r| 78. lang#reason.............................|SpaceVim-layer-lang-reason|
79. lang#ring.................................|SpaceVim-layer-lang-ring| 79. lang#ring....................................|SpaceVim-layer-lang-r|
80. lang#ruby.................................|SpaceVim-layer-lang-ruby| 80. lang#ring.................................|SpaceVim-layer-lang-ring|
81. lang#rust.................................|SpaceVim-layer-lang-rust| 81. lang#ruby.................................|SpaceVim-layer-lang-ruby|
82. lang#scala...............................|SpaceVim-layer-lang-scala| 82. lang#rust.................................|SpaceVim-layer-lang-rust|
83. lang#scheme.............................|SpaceVim-layer-lang-scheme| 83. lang#scala...............................|SpaceVim-layer-lang-scala|
84. lang#sh.....................................|SpaceVim-layer-lang-sh| 84. lang#scheme.............................|SpaceVim-layer-lang-scheme|
85. lang#sml...................................|SpaceVim-layer-lang-sml| 85. lang#sh.....................................|SpaceVim-layer-lang-sh|
86. lang#swig................................|SpaceVim-layer-lang-swift| 86. lang#sml...................................|SpaceVim-layer-lang-sml|
87. lang#swig.................................|SpaceVim-layer-lang-swig| 87. lang#swig................................|SpaceVim-layer-lang-swift|
88. lang#tcl...................................|SpaceVim-layer-lang-tcl| 88. lang#swig.................................|SpaceVim-layer-lang-swig|
89. lang#toml.................................|SpaceVim-layer-lang-toml| 89. lang#tcl...................................|SpaceVim-layer-lang-tcl|
90. lang#typescript.....................|SpaceVim-layer-lang-typescript| 90. lang#toml.................................|SpaceVim-layer-lang-toml|
91. lang#v.......................................|SpaceVim-layer-lang-v| 91. lang#typescript.....................|SpaceVim-layer-lang-typescript|
92. lang#vbnet...............................|SpaceVim-layer-lang-vbnet| 92. lang#v.......................................|SpaceVim-layer-lang-v|
93. lang#wolfram...........................|SpaceVim-layer-lang-wolfram| 93. lang#vbnet...............................|SpaceVim-layer-lang-vbnet|
94. lang#xml...................................|SpaceVim-layer-lang-xml| 94. lang#wolfram...........................|SpaceVim-layer-lang-wolfram|
95. lang#xquery.............................|SpaceVim-layer-lang-xquery| 95. lang#xml...................................|SpaceVim-layer-lang-xml|
96. language server protocol........................|SpaceVim-layer-lsp| 96. lang#xquery.............................|SpaceVim-layer-lang-xquery|
97. leaderf.....................................|SpaceVim-layer-leaderf| 97. language server protocol........................|SpaceVim-layer-lsp|
98. operator...................................|SpaceVim-layer-operator| 98. leaderf.....................................|SpaceVim-layer-leaderf|
99. shell.........................................|SpaceVim-layer-shell| 99. operator...................................|SpaceVim-layer-operator|
100. test..........................................|SpaceVim-layer-test| 100. shell........................................|SpaceVim-layer-shell|
101. tmux..........................................|SpaceVim-layer-tmux| 101. test..........................................|SpaceVim-layer-test|
102. tools#dash..............................|SpaceVim-layer-tools-dash| 102. tmux..........................................|SpaceVim-layer-tmux|
103. tools#zeal..............................|SpaceVim-layer-tools-zeal| 103. tools#dash..............................|SpaceVim-layer-tools-dash|
104. ui..............................................|SpaceVim-layer-ui| 104. tools#zeal..............................|SpaceVim-layer-tools-zeal|
105. ui..............................................|SpaceVim-layer-ui|
7. Usage....................................................|SpaceVim-usage| 7. Usage....................................................|SpaceVim-usage|
1. buffers-and-files..................|SpaceVim-usage-buffers-and-files| 1. buffers-and-files..................|SpaceVim-usage-buffers-and-files|
2. custom_plugins........................|SpaceVim-usage-custom_plugins| 2. custom_plugins........................|SpaceVim-usage-custom_plugins|
@ -358,17 +357,6 @@ Enable/Disable debug mode for SpaceVim. Default is false.
enable_debug = true enable_debug = true
< <
==============================================================================
ENABLE_FILETREE_GITSTATUS *SpaceVim-options-enable_filetree_gitstatus*
Enable/Disable gitstatus column in filetree buffer, default is false.
>
enable_filetree_gitstatus = false
<
NOTE: the `enable_vimfiler_gitstatus` option has been deprecated.
*spacevim-options-enable_vimfiler_gitstatus*
*g:spacevim_enable_vimfiler_gitstatus*
============================================================================== ==============================================================================
ENABLE_GOOGLESUGGEST *SpaceVim-options-enable_googlesuggest* ENABLE_GOOGLESUGGEST *SpaceVim-options-enable_googlesuggest*
@ -1307,12 +1295,6 @@ vim to start up slowly if there are too many files in the current directory.
*g:spacevim_autocomplete_parens* *g:spacevim_autocomplete_parens*
Enable/Disable autocompletion of parentheses, default is 1 (enabled). Enable/Disable autocompletion of parentheses, default is 1 (enabled).
*g:spacevim_enable_filetree_gitstatus*
Enable/Disable gitstatus column in filetree buffer, default is 0.
*g:spacevim_enable_vimfiler_filetypeicon*
Enable/Disable filetypeicon column in vimfiler buffer, default is 0.
*g:spacevim_hosts_url* *g:spacevim_hosts_url*
The host file url. This option is for Chinese users who can not use Google and The host file url. This option is for Chinese users who can not use Google and
Twitter. Twitter.
@ -1482,6 +1464,27 @@ colorscheme called atom doesn't support spell check very well.
SpaceVim is not gonna fix them since these should be in charge of each author. SpaceVim is not gonna fix them since these should be in charge of each author.
==============================================================================
CORE *SpaceVim-layer-core*
The `core` layer of SpaceVim. This layer is enabled by default, and it
provides filetree, comment key bindings etc.
OPTIONS
`filetree_show_hidden`: option for showing hidden file in filetree, disabled
by default.
`enable_smooth_scrolling`: enable/disabled smooth scrolling key bindings,
enabled by default.
`enable_filetree_gitstatus`: enable/disable git status column in filetree.
`enable_filetree_filetypeicon`: enable/disable filetype icons in filetree.
NOTE: the `enable_vimfiler_gitstatus` and `enable_filetree_gitstatus` option
has been deprecated. Use layer option instead.
*spacevim-options-enable_vimfiler_gitstatus*
*spacevim-options-enable_filetree_gitstatus*
*g:spacevim_enable_vimfiler_gitstatus* *g:spacevim_enable_filetree_gitstatus*
*g:spacevim_enable_vimfiler_filetypeicon*
============================================================================== ==============================================================================
CORE#STATUSLINE *SpaceVim-layer-core-statusline* CORE#STATUSLINE *SpaceVim-layer-core-statusline*