1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 01:00:05 +08:00

Add wrap_line option (#4291)

This commit is contained in:
Wang Shidong 2021-06-21 22:49:20 +08:00 committed by GitHub
parent 7fc00c9c81
commit c7eb99d6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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.