mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:20:06 +08:00
Add wrap_line option (#4291)
This commit is contained in:
parent
7fc00c9c81
commit
c7eb99d6bb
@ -78,6 +78,9 @@ let g:spacevim_expand_tab = 1
|
||||
" Enable/Disable relativenumber in current windows, by default it is enabled.
|
||||
let g:spacevim_relativenumber = 1
|
||||
|
||||
""
|
||||
" Enable/Disable line wrap of vim
|
||||
let g:spacevim_wrap_line = 0
|
||||
|
||||
""
|
||||
" @section enable_bepo_layout, options-enable_bepo_layout
|
||||
@ -1375,6 +1378,7 @@ function! SpaceVim#end() abort
|
||||
" tab options:
|
||||
set smarttab
|
||||
let &expandtab = g:spacevim_expand_tab
|
||||
let &wrap = g:spacevim_wrap_line
|
||||
|
||||
if g:spacevim_default_indent > 0
|
||||
let &tabstop = g:spacevim_default_indent
|
||||
|
@ -810,6 +810,9 @@ In Insert mode: Use the appropriate number of spaces to insert a <Tab>
|
||||
*g:spacevim_relativenumber*
|
||||
Enable/Disable relativenumber in current windows, by default it is enabled.
|
||||
|
||||
*g:spacevim_wrap_line*
|
||||
Enable/Disable line wrap of vim
|
||||
|
||||
*g:spacevim_enable_bepo_layout*
|
||||
Enable/Disable bepo layout, by default it is disabled.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user